Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_10_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_10_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.001119/0.001119, allocations: 91.92 kB / 16.02 MB, free: 80 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.00151/0.001511, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 8 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6877/0.688, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001501/0.6896, allocations: 0.8552 MB / 1.025 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.6917, allocations: 1.378 MB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.6919, allocations: 8 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.368e-05/0.6919, allocations: 11.86 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.6921, allocations: 31.72 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.6929, allocations: 266.9 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.6933, allocations: 359.9 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.6936, allocations: 112.2 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.6938, allocations: 115.6 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.694, allocations: 115.4 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.6941, allocations: 16 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.583e-05/0.6942, allocations: 27.98 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.6942, allocations: 35.78 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.6944, allocations: 145 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.6948, allocations: 369 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.6948, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6948, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.6949, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 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.0008956/0.6958, allocations: 0.5604 MB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6958, allocations: 11.97 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.6959, allocations: 32.66 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007394/0.6967, allocations: 334.1 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.6967, allocations: 24.36 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.6968, allocations: 24.38 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.6971, allocations: 177.8 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.6972, allocations: 0 / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.6972, allocations: 11.98 kB / 1.029 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.6972, allocations: 7.984 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.6974, allocations: 112 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.6986, allocations: 0.703 MB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.6991, allocations: 166.8 kB / 1.03 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.6992, allocations: 68.83 kB / 1.03 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6993, allocations: 7.938 kB / 1.03 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.6995, allocations: 127.3 kB / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.6995, allocations: 0 / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004823/0.7, allocations: 223 kB / 1.03 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.7001, allocations: 59.41 kB / 1.03 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.7003, allocations: 206.9 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.7004, allocations: 45.69 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.7005, allocations: 148.6 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.7006, allocations: 43.45 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.7006, allocations: 41.69 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7008, allocations: 342.8 kB / 1.031 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.701, allocations: 99.95 kB / 1.031 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.7013, allocations: 154.8 kB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.7016, allocations: 222.8 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7016, allocations: 0 / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006151/0.7022, allocations: 356.6 kB / 1.032 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/0.7023, allocations: 63.34 kB / 1.032 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7023, allocations: 4 kB / 1.032 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.7023, allocations: 4.125 kB / 1.032 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.7024, allocations: 27.92 kB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7025, allocations: 0 / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.7029, allocations: 103.8 kB / 1.032 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.703, allocations: 15.98 kB / 1.032 GB, free: 7.234 MB / 0.7794 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.0001856/0.7032, allocations: 162.9 kB / 1.032 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.7032, allocations: 23.73 kB / 1.032 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.7033, allocations: 21.88 kB / 1.032 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7033, allocations: 7.938 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7033, allocations: 0 / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.7033, allocations: 3.984 kB / 1.032 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.7036, allocations: 297.3 kB / 1.032 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.7036, allocations: 0 / 1.032 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.915e-05/0.7037, allocations: 15.94 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.7037, allocations: 7.938 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.7038, allocations: 11.98 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7038, allocations: 0 / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7038, allocations: 0 / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.7041, allocations: 194.7 kB / 1.033 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.7042, allocations: 96.77 kB / 1.033 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.7042, allocations: 15.94 kB / 1.033 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.7043, allocations: 23.98 kB / 1.033 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.7044, allocations: 27.95 kB / 1.033 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.7044, allocations: 15.98 kB / 1.033 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001399/0.7046, allocations: 144.2 kB / 1.033 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7046, allocations: 0 / 1.033 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003137/0.7049, allocations: 59.91 kB / 1.033 GB, free: 6.035 MB / 0.7794 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.0001833/0.7051, allocations: 119.1 kB / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.7056, allocations: 339.4 kB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7056, allocations: 4 kB / 1.033 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.7058, allocations: 75.92 kB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.7061, allocations: 46.31 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.7069, allocations: 478.5 kB / 1.034 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.7073, allocations: 0.7484 MB / 1.035 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.7074, allocations: 19.44 kB / 1.035 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.7074, allocations: 0 / 1.035 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of Templates: time 0.006344/0.7137, allocations: 3.278 MB / 1.038 GB, free: 0.8828 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches