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.001443/0.001443, allocations: 103.2 kB / 16.27 MB, free: 5.965 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.001424/0.001424, allocations: 191 kB / 17.2 MB, free: 5.59 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.605/2.605, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.77 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7165, allocations: 162.2 MB / 1.083 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002274/0.7188, allocations: 1.147 MB / 1.084 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.7204, allocations: 1.382 MB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.92e-05/0.7205, allocations: 2.344 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.732e-05/0.7206, allocations: 25.27 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.7207, allocations: 35.47 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.7214, allocations: 294.7 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.7219, allocations: 422.3 kB / 1.086 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.7221, allocations: 122.1 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.7223, allocations: 156.5 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.7225, allocations: 140.2 kB / 1.087 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.7225, allocations: 45.44 kB / 1.087 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.7227, allocations: 64.08 kB / 1.087 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.7227, allocations: 64.97 kB / 1.087 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.7229, allocations: 157.7 kB / 1.087 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.7235, allocations: 472.7 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7235, allocations: 1.125 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7235, allocations: 0 / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.7235, allocations: 3.938 kB / 1.087 GB, free: 14.93 MB / 0.8419 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.0009016/0.7244, allocations: 0.6153 MB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.7244, allocations: 8.906 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.745e-05/0.7245, allocations: 32.27 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.7252, allocations: 331.2 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.7253, allocations: 16.84 kB / 1.088 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.7254, allocations: 29.81 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.7256, allocations: 177.8 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.7257, allocations: 0 / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.7257, allocations: 12.55 kB / 1.089 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.7257, allocations: 8.406 kB / 1.089 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.7259, allocations: 114.7 kB / 1.089 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.7269, allocations: 0.6856 MB / 1.089 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.7274, allocations: 165.3 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.7275, allocations: 71.47 kB / 1.09 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.7275, allocations: 1.312 kB / 1.09 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.7278, allocations: 141.7 kB / 1.09 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.7278, allocations: 1.469 kB / 1.09 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0004428/0.7282, allocations: 218.2 kB / 1.09 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.7283, allocations: 54.56 kB / 1.09 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.7285, allocations: 212.2 kB / 1.09 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.7286, allocations: 37.61 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.7287, allocations: 145.8 kB / 1.09 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.7287, allocations: 50.77 kB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.7289, allocations: 81.88 kB / 1.09 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7291, allocations: 334.2 kB / 1.091 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.7293, allocations: 101.6 kB / 1.091 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.7295, allocations: 166 kB / 1.091 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.7298, allocations: 217 kB / 1.091 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7298, allocations: 1.344 kB / 1.091 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005898/0.7304, allocations: 359.8 kB / 1.092 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.7305, allocations: 66.7 kB / 1.092 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7305, allocations: 5.312 kB / 1.092 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.7305, allocations: 2.969 kB / 1.092 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.7306, allocations: 15.62 kB / 1.092 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.7306, allocations: 2.312 kB / 1.092 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.731, allocations: 80.92 kB / 1.092 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.7311, allocations: 26.08 kB / 1.092 GB, free: 11.82 MB / 0.8419 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.000168/0.7312, allocations: 151 kB / 1.092 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.7313, allocations: 21.7 kB / 1.092 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.7313, allocations: 24.06 kB / 1.092 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.7314, allocations: 3.188 kB / 1.092 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.7314, allocations: 0 / 1.092 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7314, allocations: 2.141 kB / 1.092 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.7317, allocations: 301.7 kB / 1.092 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7317, allocations: 0.6562 kB / 1.092 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.7318, allocations: 17.78 kB / 1.092 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.7318, allocations: 5.719 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.7318, allocations: 6.469 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7318, allocations: 1.938 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7318, allocations: 1.781 kB / 1.092 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.7321, allocations: 191.2 kB / 1.092 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.7322, allocations: 111.8 kB / 1.093 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.7322, allocations: 11.09 kB / 1.093 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.7323, allocations: 15.36 kB / 1.093 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.7324, allocations: 29.19 kB / 1.093 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.7324, allocations: 11.34 kB / 1.093 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001347/0.7326, allocations: 142.8 kB / 1.093 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7326, allocations: 0 / 1.093 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002828/0.7329, allocations: 59.02 kB / 1.093 GB, free: 11.03 MB / 0.8419 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.0001718/0.7331, allocations: 121.1 kB / 1.093 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005955/0.7337, allocations: 346.2 kB / 1.093 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7337, allocations: 0 / 1.093 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.7338, allocations: 81.05 kB / 1.093 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.7341, allocations: 41.41 kB / 1.093 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.7348, allocations: 404.9 kB / 1.094 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.7353, allocations: 0.7426 MB / 1.094 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.7354, allocations: 29.23 kB / 1.094 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.7354, allocations: 0 / 1.094 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.006383/0.7418, allocations: 3.308 MB / 1.098 GB, free: 9.328 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=400 -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/jenkins1/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