Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001309/0.001309, allocations: 110 kB / 18.93 MB, free: 2.945 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.001415/0.001415, allocations: 187 kB / 22.22 MB, free: 5.164 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.561/1.561, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.426/3.426, allocations: 0.4893 GB / 0.7884 GB, free: 32.99 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-master/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.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer")
translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 68.61 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4531, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002502/0.4556, allocations: 0.7482 MB / 1.317 GB, free: 8.969 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002016/0.4576, allocations: 1.268 MB / 1.318 GB, free: 7.688 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.165e-05/0.4577, allocations: 4 kB / 1.318 GB, free: 7.684 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.4577, allocations: 7.875 kB / 1.318 GB, free: 7.676 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.4579, allocations: 19.86 kB / 1.318 GB, free: 7.656 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.459, allocations: 245.5 kB / 1.318 GB, free: 7.422 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005003/0.4595, allocations: 251.6 kB / 1.318 GB, free: 7.176 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4596, allocations: 16.23 kB / 1.319 GB, free: 7.156 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.4599, allocations: 107.7 kB / 1.319 GB, free: 7.051 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.4601, allocations: 95.75 kB / 1.319 GB, free: 6.957 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.4601, allocations: 23.98 kB / 1.319 GB, free: 6.934 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.4603, allocations: 39.98 kB / 1.319 GB, free: 6.895 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.4603, allocations: 31.91 kB / 1.319 GB, free: 6.863 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.4605, allocations: 87.75 kB / 1.319 GB, free: 6.777 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000382/0.4609, allocations: 227.3 kB / 1.319 GB, free: 6.555 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.4609, allocations: 0 / 1.319 GB, free: 6.555 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.713e-06/0.4609, allocations: 0 / 1.319 GB, free: 6.555 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.356e-05/0.4609, allocations: 0 / 1.319 GB, free: 6.555 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: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.0008385/0.4617, allocations: 433.3 kB / 1.32 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.4618, allocations: 8.031 kB / 1.32 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.4618, allocations: 24.83 kB / 1.32 GB, free: 6.055 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.4625, allocations: 186.5 kB / 1.32 GB, free: 5.848 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.4625, allocations: 16.36 kB / 1.32 GB, free: 5.832 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.4626, allocations: 20.38 kB / 1.32 GB, free: 5.812 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.4628, allocations: 131.9 kB / 1.32 GB, free: 5.672 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4628, allocations: 3.938 kB / 1.32 GB, free: 5.668 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.4629, allocations: 11.94 kB / 1.32 GB, free: 5.656 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4629, allocations: 4 kB / 1.32 GB, free: 5.652 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.463, allocations: 59.95 kB / 1.32 GB, free: 5.594 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.464, allocations: 491.8 kB / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.4642, allocations: 133.2 kB / 1.321 GB, free: 4.918 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4643, allocations: 53.69 kB / 1.321 GB, free: 4.859 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4643, allocations: 12.09 kB / 1.321 GB, free: 4.848 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003676/0.4647, allocations: 200.9 kB / 1.321 GB, free: 4.633 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.4647, allocations: 4 kB / 1.321 GB, free: 4.629 MB / 1.014 GB
Notification: Performance of matching and sorting (n=22): time 0.0006176/0.4653, allocations: 324.2 kB / 1.321 GB, free: 4.309 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.18e-05/0.4654, allocations: 85.05 kB / 1.321 GB, free: 4.207 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.4655, allocations: 130 kB / 1.321 GB, free: 4.07 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.4656, allocations: 37.7 kB / 1.321 GB, free: 4.027 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.4657, allocations: 96.62 kB / 1.321 GB, free: 3.93 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.4657, allocations: 55.58 kB / 1.322 GB, free: 3.875 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.4659, allocations: 77.62 kB / 1.322 GB, free: 3.793 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001558/0.466, allocations: 330.8 kB / 1.322 GB, free: 3.461 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.4662, allocations: 84.23 kB / 1.322 GB, free: 3.375 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.4665, allocations: 153.4 kB / 1.322 GB, free: 3.199 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.4668, allocations: 250.4 kB / 1.322 GB, free: 2.918 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4668, allocations: 3.938 kB / 1.322 GB, free: 2.914 MB / 1.014 GB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006765/0.4675, allocations: 364.7 kB / 1.323 GB, free: 2.539 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.4676, allocations: 63.41 kB / 1.323 GB, free: 2.465 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4676, allocations: 0 / 1.323 GB, free: 2.465 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.4676, allocations: 7.984 kB / 1.323 GB, free: 2.457 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.4677, allocations: 19.94 kB / 1.323 GB, free: 2.438 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.4678, allocations: 7.938 kB / 1.323 GB, free: 2.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.4681, allocations: 75.98 kB / 1.323 GB, free: 2.355 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.4682, allocations: 16 kB / 1.323 GB, free: 2.34 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (30):
 * Single equations (assignments): 28
 * 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.0001718/0.4684, allocations: 143.8 kB / 1.323 GB, free: 2.191 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.4684, allocations: 11.95 kB / 1.323 GB, free: 2.18 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.4684, allocations: 20.42 kB / 1.323 GB, free: 2.156 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4684, allocations: 0 / 1.323 GB, free: 2.156 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.4685, allocations: 11.94 kB / 1.323 GB, free: 2.145 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4685, allocations: 0 / 1.323 GB, free: 2.145 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007446/0.4692, allocations: 0.5826 MB / 1.324 GB, free: 1.512 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4692, allocations: 3.984 kB / 1.324 GB, free: 1.508 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.4693, allocations: 4 kB / 1.324 GB, free: 1.504 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.4693, allocations: 7.938 kB / 1.324 GB, free: 1.496 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.4693, allocations: 11.98 kB / 1.324 GB, free: 1.484 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4693, allocations: 0 / 1.324 GB, free: 1.484 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.4693, allocations: 3.938 kB / 1.324 GB, free: 1.48 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.4698, allocations: 424.2 kB / 1.324 GB, free: 1.051 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.4698, allocations: 11.91 kB / 1.324 GB, free: 1.039 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.4699, allocations: 15.94 kB / 1.324 GB, free: 1.023 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.47, allocations: 11.98 kB / 1.324 GB, free: 1.012 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.4701, allocations: 23.95 kB / 1.324 GB, free: 0.9883 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.4701, allocations: 15.98 kB / 1.324 GB, free: 0.9727 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.794e-05/0.4702, allocations: 98.89 kB / 1.324 GB, free: 0.8789 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4702, allocations: 4.094 kB / 1.324 GB, free: 0.875 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003644/0.4705, allocations: 63.86 kB / 1.324 GB, free: 0.8125 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: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y)
 * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 14
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 8
 * 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.000218/0.4708, allocations: 115.8 kB / 1.324 GB, free: 0.6914 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0006113/0.4714, allocations: 314.6 kB / 1.325 GB, free: 368 kB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4714, allocations: 448 / 1.325 GB, free: 368 kB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.4715, allocations: 95.81 kB / 1.325 GB, free: 272 kB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.4719, allocations: 27.91 kB / 1.325 GB, free: 244 kB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.4726, allocations: 276.4 kB / 1.325 GB, free: 15.93 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.4729, allocations: 0.7086 MB / 1.326 GB, free: 15.2 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 6.282e-05/0.473, allocations: 21.47 kB / 1.326 GB, free: 15.18 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.4731, allocations: 15.44 kB / 1.326 GB, free: 15.16 MB / 1.029 GB
Notification: Performance of SimCode: time 3.11e-07/0.4731, allocations: 0 / 1.326 GB, free: 15.16 MB / 1.029 GB
Notification: Performance of Templates: time 0.007546/0.4806, allocations: 2.785 MB / 1.329 GB, free: 12.41 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.765280368737876]