Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.28/3.28, allocations: 496 MB / 0.7835 GB, free: 33.75 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 64.28 kB / 1.138 GB, free: 33.9 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4442, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00221/0.4464, allocations: 0.7243 MB / 1.308 GB, free: 1.086 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001844/0.4483, allocations: 1.256 MB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.4483, allocations: 7.938 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.4484, allocations: 15.86 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.4485, allocations: 15.86 kB / 1.309 GB, free: 15.78 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.4495, allocations: 235.4 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000392/0.4499, allocations: 251.6 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.45, allocations: 19.98 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.4502, allocations: 107.9 kB / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.4504, allocations: 87.72 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.4505, allocations: 19.94 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.4506, allocations: 47.97 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.062e-05/0.4507, allocations: 35.91 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.4508, allocations: 87.64 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.4512, allocations: 235.2 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4512, allocations: 0 / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.442e-06/0.4512, allocations: 3.938 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.654e-06/0.4512, allocations: 0 / 1.31 GB, free: 14.67 MB / 1.014 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.0007242/0.4519, allocations: 437 kB / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.452, allocations: 12.92 kB / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.4521, allocations: 20.84 kB / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.4527, allocations: 193.5 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.4527, allocations: 12.38 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.4527, allocations: 12.38 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.453, allocations: 133.6 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.453, allocations: 3.938 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.453, allocations: 8 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.453, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.4531, allocations: 51.91 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.454, allocations: 0.6368 MB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.086e-05/0.454, allocations: 37.09 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.4541, allocations: 21.83 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.4541, allocations: 0 / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.4542, allocations: 100.9 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.4542, allocations: 0 / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.0002726/0.4545, allocations: 105.5 kB / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.4546, allocations: 85.05 kB / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.4548, allocations: 168 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.4548, allocations: 37.69 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.4549, allocations: 127.7 kB / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.455, allocations: 15.84 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.4551, allocations: 65.67 kB / 1.313 GB, free: 12.19 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001567/0.4552, allocations: 318.8 kB / 1.313 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.4554, allocations: 51.97 kB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.4556, allocations: 127 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.4558, allocations: 170.2 kB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4558, allocations: 3.984 kB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004876/0.4563, allocations: 272.7 kB / 1.313 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.4563, allocations: 67.39 kB / 1.313 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4564, allocations: 0 / 1.313 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4564, allocations: 4 kB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-05/0.4564, allocations: 4.25 kB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.4564, allocations: 7.938 kB / 1.314 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.4568, allocations: 67.88 kB / 1.314 GB, free: 11.02 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.4569, allocations: 15.98 kB / 1.314 GB, free: 11 MB / 1.014 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.0001468/0.457, allocations: 141.1 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.457, allocations: 19.83 kB / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.4571, allocations: 16.33 kB / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4571, allocations: 4 kB / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4571, allocations: 0 / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4571, allocations: 0 / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.4573, allocations: 184.6 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4573, allocations: 3.938 kB / 1.314 GB, free: 10.58 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-06/0.4573, allocations: 3.938 kB / 1.314 GB, free: 10.58 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4573, allocations: 0 / 1.314 GB, free: 10.58 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4573, allocations: 4 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4573, allocations: 0 / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4573, allocations: 4 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.4575, allocations: 113.9 kB / 1.314 GB, free: 10.44 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.4575, allocations: 11.89 kB / 1.314 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.4575, allocations: 4.375 kB / 1.314 GB, free: 10.42 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.4576, allocations: 3.984 kB / 1.314 GB, free: 10.42 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.4576, allocations: 7.938 kB / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.4576, allocations: 4 kB / 1.314 GB, free: 10.41 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001186/0.4577, allocations: 127.2 kB / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.4577, allocations: 0 / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002643/0.458, allocations: 39.95 kB / 1.314 GB, free: 10.24 MB / 1.014 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.0001605/0.4582, allocations: 111.9 kB / 1.314 GB, free: 10.12 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003607/0.4585, allocations: 214.7 kB / 1.315 GB, free: 9.891 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4585, allocations: 0.5 kB / 1.315 GB, free: 9.891 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.4586, allocations: 19.92 kB / 1.315 GB, free: 9.871 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.4588, allocations: 34.31 kB / 1.315 GB, free: 9.84 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.4593, allocations: 236.2 kB / 1.315 GB, free: 9.582 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.4596, allocations: 0.708 MB / 1.316 GB, free: 8.848 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.301e-05/0.4597, allocations: 16.97 kB / 1.316 GB, free: 8.828 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.4597, allocations: 11.44 kB / 1.316 GB, free: 8.816 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.4597, allocations: 0 / 1.316 GB, free: 8.816 MB / 1.014 GB
Notification: Performance of Templates: time 0.005817/0.4655, allocations: 2.033 MB / 1.318 GB, free: 6.805 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.556148345582187]