Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001282/0.001282, allocations: 110.2 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.001397/0.001397, allocations: 192 kB / 22.23 MB, free: 5.16 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.4/1.4, 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-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.114/3.114, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff")
translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.95 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002229/0.3059, allocations: 0.8111 MB / 1.308 GB, free: 0.9883 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001597/0.3074, allocations: 1.174 MB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.3075, allocations: 0 / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.3076, allocations: 7.875 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.951e-05/0.3076, allocations: 11.92 kB / 1.309 GB, free: 15.78 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.3082, allocations: 147.1 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3084, allocations: 143.7 kB / 1.31 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3086, allocations: 27.98 kB / 1.31 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3087, allocations: 55.89 kB / 1.31 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3088, allocations: 63.75 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.3088, allocations: 12 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.675e-05/0.3089, allocations: 27.98 kB / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.3089, allocations: 19.97 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.309, allocations: 55.78 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.3093, allocations: 155.4 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3093, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.223e-06/0.3093, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.072e-06/0.3093, allocations: 0 / 1.31 GB, free: 15.09 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: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0006663/0.3099, allocations: 359.7 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.31, allocations: 12.92 kB / 1.31 GB, free: 14.69 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.31, allocations: 8.891 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3102, allocations: 122.4 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3102, allocations: 16.38 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.3102, allocations: 8.375 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3105, allocations: 89.16 kB / 1.311 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3105, allocations: 4.172 kB / 1.311 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3105, allocations: 7.922 kB / 1.311 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3105, allocations: 4 kB / 1.311 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.3107, allocations: 55.95 kB / 1.311 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.3113, allocations: 347.6 kB / 1.311 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3115, allocations: 54.55 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.3116, allocations: 28.92 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3116, allocations: 0 / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.3119, allocations: 87.33 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3119, allocations: 4 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.0004522/0.3123, allocations: 125.6 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.3124, allocations: 55.41 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3125, allocations: 129.7 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.3125, allocations: 33.64 kB / 1.311 GB, free: 13.4 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.3126, allocations: 104.1 kB / 1.312 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.3126, allocations: 15.84 kB / 1.312 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-05/0.3127, allocations: 41.7 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001416/0.3128, allocations: 318.8 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.313, allocations: 47.97 kB / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.3132, allocations: 83.33 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.3135, allocations: 116.3 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3135, allocations: 0 / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004734/0.314, allocations: 195.2 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.314, allocations: 37.69 kB / 1.312 GB, free: 12.4 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.314, allocations: 4 kB / 1.312 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.314, allocations: 4.062 kB / 1.312 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.3141, allocations: 7.938 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3141, allocations: 8.062 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.3144, allocations: 39.88 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.3144, allocations: 12 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (8):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001245/0.3145, allocations: 121.8 kB / 1.313 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.3145, allocations: 4.047 kB / 1.313 GB, free: 12.19 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.3146, allocations: 20.3 kB / 1.313 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3146, allocations: 0 / 1.313 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3146, allocations: 0 / 1.313 GB, free: 12.17 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3146, allocations: 3.938 kB / 1.313 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3148, allocations: 156.7 kB / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3148, allocations: 0 / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.3148, allocations: 15.98 kB / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3148, allocations: 0 / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3148, allocations: 4 kB / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3148, allocations: 0 / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3148, allocations: 3.984 kB / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.3152, allocations: 129.3 kB / 1.313 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.3152, allocations: 7.953 kB / 1.313 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3152, allocations: 7.984 kB / 1.313 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3153, allocations: 11.98 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.3153, allocations: 15.92 kB / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.3153, allocations: 7.938 kB / 1.313 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.313e-05/0.3154, allocations: 91.27 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3154, allocations: 0 / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002324/0.3156, allocations: 27.94 kB / 1.313 GB, free: 11.63 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y)
 * Number of discrete states: 1 (conEquSta.hys.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001419/0.3158, allocations: 104 kB / 1.313 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004265/0.3162, allocations: 159.3 kB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3162, allocations: 0 / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.3163, allocations: 35.91 kB / 1.313 GB, free: 11.32 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.3165, allocations: 15.98 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.3169, allocations: 175.3 kB / 1.313 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3173, allocations: 0.7002 MB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.439e-05/0.3174, allocations: 3.75 kB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.3174, allocations: 19.41 kB / 1.314 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of SimCode: time 3.41e-07/0.3174, allocations: 0 / 1.314 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of Templates: time 0.004874/0.3223, allocations: 1.666 MB / 1.316 GB, free: 8.711 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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: 8.348617749288678]