Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001125/0.002346, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.00245, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9554/0.9554, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09398/1.049, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.845/1.845, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4945/2.339, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.362e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001424/0.001437, allocations: 0.9177 MB / 0.7305 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.002753, allocations: 1.346 MB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.002819, allocations: 7.938 kB / 0.7319 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.857e-05/0.002898, allocations: 17.11 kB / 0.7319 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.002972, allocations: 36.05 kB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.003458, allocations: 255.4 kB / 0.7322 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.003787, allocations: 327.6 kB / 0.7325 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.003907, allocations: 55.55 kB / 0.7325 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.004123, allocations: 207.6 kB / 0.7327 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.004264, allocations: 72.45 kB / 0.7328 GB, free: 1.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.004299, allocations: 24.94 kB / 0.7328 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.0044, allocations: 43.97 kB / 0.7329 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.00446, allocations: 44.45 kB / 0.7329 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.004528, allocations: 51.94 kB / 0.7329 GB, free: 1.074 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.004918, allocations: 192 kB / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.00493, allocations: 0 / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00493, allocations: 0.5 kB / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.004945, allocations: 0.5 kB / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006202/0.005565, allocations: 487.6 kB / 0.7336 GB, free: 380 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.005601, allocations: 16.77 kB / 0.7336 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.005851, allocations: 129.9 kB / 0.7337 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.006061, allocations: 178.5 kB / 0.7339 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.0061, allocations: 16.42 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.006129, allocations: 20.31 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.006284, allocations: 130.4 kB / 0.7341 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006296, allocations: 4.172 kB / 0.7341 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.006308, allocations: 4.375 kB / 0.7341 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.006317, allocations: 6.094 kB / 0.7341 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.00636, allocations: 35.8 kB / 0.7341 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.006819, allocations: 0.5266 MB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/0.006898, allocations: 57.98 kB / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.006921, allocations: 14.28 kB / 0.7347 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-06/0.006928, allocations: 0 / 0.7347 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.007076, allocations: 102.7 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.007077, allocations: 0 / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001668/0.007244, allocations: 89.52 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.007288, allocations: 81.98 kB / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.007412, allocations: 199.4 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.007435, allocations: 34.89 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.007503, allocations: 128.2 kB / 0.7353 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.007515, allocations: 15.89 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.007578, allocations: 59.41 kB / 0.7354 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.007659, allocations: 330.8 kB / 0.7357 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.007734, allocations: 103.3 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.007844, allocations: 222.2 kB / 0.736 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.007971, allocations: 182.8 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.007975, allocations: 5.125 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007031/0.008678, allocations: 293.5 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.008726, allocations: 71.39 kB / 0.7365 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.00873, allocations: 0.5312 kB / 0.7365 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.008745, allocations: 9.438 kB / 0.7365 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.597e-05/0.008791, allocations: 11.94 kB / 0.7365 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.008796, allocations: 7.984 kB / 0.7366 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.008943, allocations: 41.14 kB / 0.7366 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.008959, allocations: 11.98 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt2.y,conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.149e-05/0.009041, allocations: 129.6 kB / 0.7367 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.009055, allocations: 17.05 kB / 0.7367 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.009085, allocations: 17.02 kB / 0.7368 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.009088, allocations: 3.938 kB / 0.7368 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.009091, allocations: 4.5 kB / 0.7368 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.009094, allocations: 4.688 kB / 0.7368 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.487e-05/0.009179, allocations: 97.83 kB / 0.7369 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.009181, allocations: 8.688 kB / 0.7369 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/0.009196, allocations: 4 kB / 0.7369 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.009211, allocations: 17.09 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.009212, allocations: 0 / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.009218, allocations: 5.453 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009219, allocations: 4 kB / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.00922, allocations: 3.938 kB / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.228e-05/0.009302, allocations: 93.94 kB / 0.737 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.009316, allocations: 13.17 kB / 0.737 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.009332, allocations: 4 kB / 0.737 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.009358, allocations: 11.92 kB / 0.737 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.009361, allocations: 1.25 kB / 0.737 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.009404, allocations: 55.05 kB / 0.7371 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009404, allocations: 0 / 0.7371 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00014/0.009544, allocations: 47.89 kB / 0.7371 GB, free: 12.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001069/0.009651, allocations: 89.64 kB / 0.7372 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.009872, allocations: 276.4 kB / 0.7375 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.009878, allocations: 4 kB / 0.7375 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.811e-05/0.009907, allocations: 27.72 kB / 0.7375 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.01014, allocations: 281 kB / 0.7378 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.01064, allocations: 296.8 kB / 0.7381 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.01068, allocations: 71.98 kB / 0.7381 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.01071, allocations: 13.48 kB / 0.7381 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.01082, allocations: 95.98 kB / 0.7382 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.01082, allocations: 1.719 kB / 0.7382 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.00455/0.01537, allocations: 2.912 MB / 0.7411 GB, free: 8.363 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.721088598482311]