Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002053/0.002053, allocations: 106 kB / 18.94 MB, free: 2.953 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.002912/0.002912, allocations: 197.4 kB / 22.23 MB, free: 5.129 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.48/1.48, allocations: 225.6 MB / 251 MB, free: 13.05 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.064/3.064, allocations: 495.7 MB / 0.7831 GB, free: 33.42 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-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.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_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 64.33 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.323, allocations: 173.6 MB / 1.307 GB, free: 1.953 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002102/0.3251, allocations: 0.8356 MB / 1.308 GB, free: 1.121 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001603/0.3267, allocations: 1.162 MB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.3267, allocations: 0 / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.3268, allocations: 11.86 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.508e-05/0.3269, allocations: 19.86 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.3274, allocations: 134.7 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3277, allocations: 143.7 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3278, allocations: 27.97 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.3279, allocations: 55.84 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.328, allocations: 63.8 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.3281, allocations: 12 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.235e-05/0.3281, allocations: 27.98 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.3282, allocations: 15.98 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.3282, allocations: 59.78 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3285, allocations: 155.4 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3285, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.192e-06/0.3285, allocations: 0 / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.077e-06/0.3285, allocations: 4 kB / 1.31 GB, free: 15.23 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.0006508/0.3291, allocations: 355.8 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3292, allocations: 8.031 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.3292, allocations: 12.89 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3293, allocations: 118.4 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3294, allocations: 12.38 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3294, allocations: 12.31 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.3296, allocations: 90.14 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3296, allocations: 192 / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3297, allocations: 3.938 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3297, allocations: 4 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.3299, allocations: 51.95 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.3306, allocations: 359.6 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3307, allocations: 46.56 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3309, allocations: 28.92 kB / 1.311 GB, free: 14.03 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3309, allocations: 4 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.3311, allocations: 95.23 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3311, allocations: 0 / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.0004352/0.3315, allocations: 129.6 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3316, allocations: 51.41 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3317, allocations: 137.6 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.3317, allocations: 33.7 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.3318, allocations: 96.08 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3318, allocations: 19.84 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.3319, allocations: 41.69 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001376/0.332, allocations: 314.8 kB / 1.312 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.3322, allocations: 55.89 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3324, allocations: 83.39 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.3326, allocations: 108.2 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3326, allocations: 4 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.00045/0.3331, allocations: 195.2 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.3331, allocations: 41.69 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3331, allocations: 3.938 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3332, allocations: 4 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.3332, allocations: 7.984 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3332, allocations: 0 / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.3335, allocations: 43.95 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.3335, allocations: 12 kB / 1.312 GB, free: 12.46 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.000112/0.3336, allocations: 113.8 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.3337, allocations: 11.94 kB / 1.312 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.3337, allocations: 8.375 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3337, allocations: 4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3337, allocations: 0 / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3337, allocations: 3.938 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3338, allocations: 160.8 kB / 1.312 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3338, allocations: 3.938 kB / 1.312 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.3339, allocations: 11.94 kB / 1.312 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.3339, allocations: 7.984 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3339, allocations: 0 / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3339, allocations: 0 / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3339, allocations: 0 / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.3342, allocations: 129.3 kB / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.3342, allocations: 7.953 kB / 1.313 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3343, allocations: 4 kB / 1.313 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.3343, allocations: 15.98 kB / 1.313 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.3344, allocations: 15.92 kB / 1.313 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3344, allocations: 0 / 1.313 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.557e-05/0.3345, allocations: 95.27 kB / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3345, allocations: 0 / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002283/0.3347, allocations: 31.94 kB / 1.313 GB, free: 11.78 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.0001375/0.3348, allocations: 108 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003965/0.3352, allocations: 155.3 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3352, allocations: 0 / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3354, allocations: 31.92 kB / 1.313 GB, free: 11.47 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.3356, allocations: 16.11 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.3359, allocations: 179.3 kB / 1.313 GB, free: 11.25 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.3363, allocations: 0.6923 MB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.647e-05/0.3363, allocations: 11.73 kB / 1.314 GB, free: 10.52 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.3363, allocations: 11.44 kB / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.3363, allocations: 4 kB / 1.314 GB, free: 10.51 MB / 1.014 GB
Notification: Performance of Templates: time 0.004589/0.3409, allocations: 1.667 MB / 1.315 GB, free: 8.859 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.694803902879357]