Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.035/3.035, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 69.42 kB / 0.9116 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3708, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002958/0.3738, allocations: 1.209 MB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.376, allocations: 1.357 MB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.3762, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.473e-05/0.3763, allocations: 15.8 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.3765, allocations: 31.78 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.3772, allocations: 267.2 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.3776, allocations: 427.8 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.3779, allocations: 120.2 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.378, allocations: 155.5 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.3782, allocations: 139.4 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.3783, allocations: 48 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3784, allocations: 55.98 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.3785, allocations: 67.72 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.3787, allocations: 159.3 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.3791, allocations: 474.9 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3792, allocations: 8 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3792, allocations: 3.938 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3792, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008825/0.3801, allocations: 0.6071 MB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3801, allocations: 11.97 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.699e-05/0.3802, allocations: 32.66 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.3809, allocations: 335.5 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.381, allocations: 20.38 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.381, allocations: 24.38 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.3813, allocations: 177.8 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3813, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.3814, allocations: 8 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3814, allocations: 4 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.3816, allocations: 115.9 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.3826, allocations: 0.6952 MB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.383, allocations: 168.7 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3831, allocations: 72.78 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3831, allocations: 4 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.3834, allocations: 127.3 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.3834, allocations: 0 / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.000431/0.3839, allocations: 219.4 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3839, allocations: 63.39 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.3841, allocations: 215.1 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.3842, allocations: 41.64 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3843, allocations: 148.4 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.3843, allocations: 43.45 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3845, allocations: 77.67 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3846, allocations: 334.8 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.3848, allocations: 95.95 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.385, allocations: 162.8 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.3853, allocations: 217.7 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3853, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005395/0.3858, allocations: 367.6 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.3859, allocations: 63.34 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3859, allocations: 4 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3859, allocations: 3.984 kB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.386, allocations: 19.94 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.386, allocations: 7.984 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.3864, allocations: 83.88 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.3864, allocations: 15.94 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0001583/0.3866, allocations: 151.6 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.3866, allocations: 19.75 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.3867, allocations: 33.75 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3867, allocations: 0 / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3867, allocations: 4 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3867, allocations: 4.031 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.387, allocations: 297.4 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.387, allocations: 0 / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.3871, allocations: 12 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3871, allocations: 7.938 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3871, allocations: 7.984 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3871, allocations: 4 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3871, allocations: 4 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3874, allocations: 198.7 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.3874, allocations: 96.77 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3875, allocations: 11.94 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.3876, allocations: 11.98 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.3877, allocations: 35.95 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3877, allocations: 4 kB / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001049/0.3878, allocations: 148.6 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3878, allocations: 0 / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002761/0.3881, allocations: 63.83 kB / 1.078 GB, free: 208 kB / 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: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001732/0.3883, allocations: 111.2 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.3888, allocations: 342.6 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3888, allocations: 4.25 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.389, allocations: 79.92 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3893, allocations: 39.91 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.39, allocations: 459.3 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3903, allocations: 0.7363 MB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.952e-05/0.3904, allocations: 25.94 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.3905, allocations: 23.44 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3905, allocations: 0 / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of Templates: time 0.006745/0.3972, allocations: 3.345 MB / 1.083 GB, free: 11.01 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches