Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001982/0.001982, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002377/0.002377, allocations: 214.4 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.571/3.571, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 75.3 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4634, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002264/0.4657, allocations: 0.6997 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.4677, allocations: 1.277 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.4678, allocations: 4 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.4679, allocations: 7.875 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.468, allocations: 19.86 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.4687, allocations: 243.1 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.4691, allocations: 243.6 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4693, allocations: 27.98 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.4694, allocations: 103.8 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.4696, allocations: 83.69 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.4697, allocations: 20 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.4698, allocations: 32 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.4699, allocations: 31.91 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.47, allocations: 79.69 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.4703, allocations: 235.2 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4703, allocations: 4 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4703, allocations: 3.938 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.4703, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007181/0.4711, allocations: 429.1 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.4711, allocations: 8.031 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.4715, allocations: 56.8 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.4721, allocations: 194.4 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.4721, allocations: 12.38 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.4721, allocations: 20.38 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.4724, allocations: 131.3 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4724, allocations: 7.938 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4724, allocations: 0 / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.4724, allocations: 7.938 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.4725, allocations: 47.91 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007142/0.4732, allocations: 0.5788 MB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.53e-05/0.4733, allocations: 41.22 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.4733, allocations: 9.781 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.4734, allocations: 11.94 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.4736, allocations: 96.97 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4736, allocations: 0 / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002855/0.4738, allocations: 101.7 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.4739, allocations: 89.09 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.4741, allocations: 174.1 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.4741, allocations: 33.64 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.4743, allocations: 123.9 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.4743, allocations: 15.89 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4744, allocations: 65.67 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4746, allocations: 322.8 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.4747, allocations: 115.4 kB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.475, allocations: 231.3 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.4752, allocations: 174.1 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4752, allocations: 0 / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004822/0.4757, allocations: 328.3 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.4758, allocations: 63.34 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.4758, allocations: 7.984 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4758, allocations: 4 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.282e-05/0.4758, allocations: 7.938 kB / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.4758, allocations: 4 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.4761, allocations: 56.14 kB / 1.37 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.4762, allocations: 15.98 kB / 1.37 GB, free: 6.586 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 0.0001523/0.4763, allocations: 141.7 kB / 1.37 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.4763, allocations: 15.89 kB / 1.37 GB, free: 6.422 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.4764, allocations: 8.344 kB / 1.37 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4764, allocations: 0 / 1.37 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4764, allocations: 4 kB / 1.37 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4764, allocations: 0 / 1.37 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.4765, allocations: 145.3 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4766, allocations: 0 / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/0.4766, allocations: 4 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4766, allocations: 0 / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.4766, allocations: 11.92 kB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4766, allocations: 96 / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4766, allocations: 7.938 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.4767, allocations: 121.8 kB / 1.371 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.4768, allocations: 3.953 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4768, allocations: 7.938 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.4768, allocations: 0 / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.4768, allocations: 11.98 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.4769, allocations: 8 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.564e-05/0.477, allocations: 115.8 kB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.477, allocations: 0 / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000252/0.4772, allocations: 39.95 kB / 1.371 GB, free: 5.879 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001712/0.4774, allocations: 103.4 kB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.4778, allocations: 270.4 kB / 1.371 GB, free: 5.469 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4778, allocations: 8.125 kB / 1.371 GB, free: 5.461 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.4778, allocations: 19.97 kB / 1.371 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.4781, allocations: 20.73 kB / 1.371 GB, free: 5.422 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.4786, allocations: 248.1 kB / 1.372 GB, free: 5.152 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.4787, allocations: 97.72 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.758e-05/0.4787, allocations: 16.97 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.4788, allocations: 15.44 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4788, allocations: 0 / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of Templates: time 0.005955/0.4847, allocations: 2.147 MB / 1.374 GB, free: 2.914 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.092555517330766]