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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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=5000,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=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 462.7 MB / 0.7371 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 10.94 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001206/0.3679, allocations: 0.5338 MB / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3697, allocations: 1.155 MB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.3697, allocations: 0 / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.3698, allocations: 7.938 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3699, allocations: 15.86 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.3704, allocations: 131.1 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.3706, allocations: 123.7 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3707, allocations: 35.97 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3708, allocations: 43.84 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3709, allocations: 43.81 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.371, allocations: 8 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.3711, allocations: 23.97 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.3711, allocations: 11.94 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.3712, allocations: 61.55 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3713, allocations: 104 kB / 1.062 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3714, allocations: 3.984 kB / 1.062 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3714, allocations: 3.938 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3714, allocations: 4 kB / 1.062 GB, free: 2.598 MB / 0.8106 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.0006813/0.3721, allocations: 417 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3721, allocations: 15.97 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.3722, allocations: 12.83 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3723, allocations: 172.2 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3724, allocations: 12.38 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.3724, allocations: 12.38 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.3727, allocations: 89.83 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3727, allocations: 192 / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.3727, allocations: 7.938 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3727, allocations: 4 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.373, allocations: 71.89 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.3736, allocations: 392.5 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3738, allocations: 62.42 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3739, allocations: 36.94 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.3739, allocations: 4 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.3742, allocations: 87.36 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.3742, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004773/0.3747, allocations: 145.6 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3747, allocations: 51.41 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3748, allocations: 133.6 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.3749, allocations: 33.7 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.375, allocations: 96.03 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.375, allocations: 15.81 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.375, allocations: 21.72 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3751, allocations: 318.8 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3753, allocations: 51.97 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.3755, allocations: 87.39 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.3758, allocations: 144.1 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3758, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004302/0.3763, allocations: 195.2 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.3763, allocations: 37.69 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3763, allocations: 4.062 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3763, allocations: 4 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/0.3764, allocations: 12 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3765, allocations: 3.984 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3767, allocations: 59.89 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3768, allocations: 7.938 kB / 1.064 GB, free: 15.57 MB / 0.8262 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.0001103/0.3769, allocations: 125.8 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.3769, allocations: 7.906 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.3769, allocations: 12.36 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3769, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.377, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.377, allocations: 7.938 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.3771, allocations: 185.6 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3771, allocations: 0 / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.3772, allocations: 8 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3772, allocations: 0 / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3772, allocations: 7.984 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3772, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3772, allocations: 80 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.3775, allocations: 145.3 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.3776, allocations: 89.03 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.3776, allocations: 8 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.3777, allocations: 15.98 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.3778, allocations: 11.92 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3778, allocations: 4 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.3778, allocations: 95.27 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3778, allocations: 0 / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002315/0.3781, allocations: 28.03 kB / 1.065 GB, free: 14.73 MB / 0.8262 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.0001524/0.3782, allocations: 111.2 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000397/0.3786, allocations: 183.3 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3787, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3788, allocations: 40.09 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.379, allocations: 15.98 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.3794, allocations: 222.9 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3797, allocations: 0.6965 MB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.3798, allocations: 15.42 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.3798, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.00326/0.383, allocations: 1.336 MB / 1.068 GB, free: 12.05 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches