Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001773/0.001773, allocations: 113.7 kB / 18.84 MB, free: 2.879 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.001716/0.001716, allocations: 189.9 kB / 22.1 MB, free: 5.184 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.485/1.485, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.364/3.364, allocations: 495.8 MB / 0.783 GB, free: 33.41 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.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr")
translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.25 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4575, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002545/0.46, allocations: 0.8306 MB / 1.308 GB, free: 1.027 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002148/0.4622, allocations: 1.482 MB / 1.309 GB, free: 15.53 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.4623, allocations: 0 / 1.309 GB, free: 15.53 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.000131/0.4624, allocations: 27.8 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.4625, allocations: 35.7 kB / 1.309 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.4637, allocations: 0.52 MB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0006216/0.4644, allocations: 487.1 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.4645, allocations: 33.61 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.4647, allocations: 183.8 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.465, allocations: 179.5 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.371e-05/0.4651, allocations: 40 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.4652, allocations: 48 kB / 1.311 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.4653, allocations: 51.77 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.4655, allocations: 159.5 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.466, allocations: 418.7 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.466, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.233e-06/0.466, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.004e-05/0.466, allocations: 0 / 1.311 GB, free: 13.39 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: 25
 * Number of variables: 25
Notification: Performance of Generate backend data structure: time 0.0009981/0.467, allocations: 0.5761 MB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4671, allocations: 8.031 kB / 1.312 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.4672, allocations: 32.84 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.4675, allocations: 210.1 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.4675, allocations: 20.36 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.4676, allocations: 32.38 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.468, allocations: 157.6 kB / 1.312 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.468, allocations: 192 / 1.312 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.4681, allocations: 15.92 kB / 1.312 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4681, allocations: 0 / 1.312 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.4682, allocations: 84.91 kB / 1.312 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009455/0.4692, allocations: 0.6749 MB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.4694, allocations: 86.73 kB / 1.313 GB, free: 11.35 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.4695, allocations: 40.77 kB / 1.313 GB, free: 11.31 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.4695, allocations: 4 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003188/0.4698, allocations: 157.3 kB / 1.313 GB, free: 11.14 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.4698, allocations: 0 / 1.313 GB, free: 11.14 MB / 1.014 GB
Notification: Performance of matching and sorting (n=20): time 0.0005011/0.4703, allocations: 249.3 kB / 1.313 GB, free: 10.89 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.4704, allocations: 51.41 kB / 1.313 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4706, allocations: 186.1 kB / 1.314 GB, free: 10.64 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 7.014e-05/0.4706, allocations: 41.7 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4708, allocations: 124.7 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.4708, allocations: 47.69 kB / 1.314 GB, free: 10.42 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.471, allocations: 117.6 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002129/0.4713, allocations: 334.8 kB / 1.314 GB, free: 9.961 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.4716, allocations: 151.9 kB / 1.314 GB, free: 9.812 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.4721, allocations: 243.8 kB / 1.315 GB, free: 9.539 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/0.4727, allocations: 409.8 kB / 1.315 GB, free: 9.074 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4727, allocations: 4 kB / 1.315 GB, free: 9.07 MB / 1.014 GB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.001216/0.474, allocations: 0.6227 MB / 1.316 GB, free: 8.41 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.4741, allocations: 165.4 kB / 1.316 GB, free: 8.219 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4741, allocations: 7.938 kB / 1.316 GB, free: 8.211 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4741, allocations: 4.094 kB / 1.316 GB, free: 8.207 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.007e-05/0.4742, allocations: 19.86 kB / 1.316 GB, free: 8.188 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4742, allocations: 4 kB / 1.316 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008238/0.475, allocations: 140 kB / 1.316 GB, free: 8.047 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.4751, allocations: 31.97 kB / 1.316 GB, free: 8.016 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 12
 * Number of states: 0 ()
 * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (26):
 * Single equations (assignments): 21
 * Array equations: 0
 * Algorithm blocks: 5
 * 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.0002203/0.4753, allocations: 165.5 kB / 1.316 GB, free: 7.844 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.4753, allocations: 11.91 kB / 1.316 GB, free: 7.832 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.4754, allocations: 21.75 kB / 1.316 GB, free: 7.809 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4754, allocations: 4 kB / 1.316 GB, free: 7.805 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4754, allocations: 0 / 1.316 GB, free: 7.805 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4754, allocations: 3.984 kB / 1.316 GB, free: 7.801 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.4761, allocations: 494.8 kB / 1.317 GB, free: 7.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4761, allocations: 64 / 1.317 GB, free: 7.27 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.4761, allocations: 15.94 kB / 1.317 GB, free: 7.254 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4761, allocations: 4 kB / 1.317 GB, free: 7.25 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.4761, allocations: 7.984 kB / 1.317 GB, free: 7.242 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4761, allocations: 0 / 1.317 GB, free: 7.242 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4761, allocations: 0 / 1.317 GB, free: 7.242 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.4764, allocations: 281 kB / 1.317 GB, free: 6.953 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.4765, allocations: 15.89 kB / 1.317 GB, free: 6.938 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4765, allocations: 8 kB / 1.317 GB, free: 6.93 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.4766, allocations: 0 / 1.317 GB, free: 6.93 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.4766, allocations: 27.92 kB / 1.317 GB, free: 6.902 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4766, allocations: 11.98 kB / 1.317 GB, free: 6.891 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 9.566e-05/0.4767, allocations: 124.2 kB / 1.317 GB, free: 6.77 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.4767, allocations: 3.938 kB / 1.317 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003801/0.4771, allocations: 75.94 kB / 1.317 GB, free: 6.691 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (20):
 * Single equations (assignments): 15
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * 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.0001975/0.4773, allocations: 116.5 kB / 1.317 GB, free: 6.57 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0008658/0.4782, allocations: 0.5554 MB / 1.318 GB, free: 5.953 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4782, allocations: 0 / 1.318 GB, free: 5.953 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4783, allocations: 59.91 kB / 1.318 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.4787, allocations: 62.34 kB / 1.318 GB, free: 5.836 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.4794, allocations: 320.3 kB / 1.318 GB, free: 5.5 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.4798, allocations: 0.7242 MB / 1.319 GB, free: 4.75 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.425e-05/0.4799, allocations: 25.47 kB / 1.319 GB, free: 4.723 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.4799, allocations: 23.44 kB / 1.319 GB, free: 4.699 MB / 1.014 GB
Notification: Performance of SimCode: time 5.11e-07/0.4799, allocations: 0 / 1.319 GB, free: 4.699 MB / 1.014 GB
Notification: Performance of Templates: time 0.01141/0.4913, allocations: 4.638 MB / 1.324 GB, free: 120 kB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.650217579677701]