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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007024/0.007024, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001264/0.001264, allocations: 187.4 kB / 16.67 MB, free: 5.918 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 67.89 kB / 1.054 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8315, allocations: 157.4 MB / 1.207 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002386/0.8339, allocations: 1.157 MB / 1.208 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.8358, allocations: 1.365 MB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.836, allocations: 4 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.174e-05/0.8361, allocations: 27.67 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.8363, allocations: 47.59 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007478/0.837, allocations: 290.5 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.8375, allocations: 435.8 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.8377, allocations: 116.2 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.8379, allocations: 159.5 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.8381, allocations: 155.4 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.8382, allocations: 44 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.8383, allocations: 59.94 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.8384, allocations: 59.77 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.8386, allocations: 167.3 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.839, allocations: 484.7 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8391, allocations: 0 / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8391, allocations: 0 / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.8391, allocations: 3.938 kB / 1.212 GB, free: 9.047 MB / 0.9356 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.0008498/0.8399, allocations: 0.6111 MB / 1.212 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.84, allocations: 8.031 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.84, allocations: 50.73 kB / 1.212 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.621e-05/0.8401, allocations: 28.66 kB / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.8407, allocations: 335.5 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.8408, allocations: 20.38 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.8408, allocations: 28.38 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.8411, allocations: 173.7 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8412, allocations: 3.938 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.8412, allocations: 12 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.8412, allocations: 11.98 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.8414, allocations: 111.9 kB / 1.213 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.8424, allocations: 0.6873 MB / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.8429, allocations: 162.8 kB / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.843, allocations: 72.77 kB / 1.214 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.843, allocations: 0 / 1.214 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.8433, allocations: 136.6 kB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.8433, allocations: 4 kB / 1.214 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004611/0.8438, allocations: 227.7 kB / 1.214 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.8438, allocations: 51.41 kB / 1.214 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.8441, allocations: 212.1 kB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.8441, allocations: 41.7 kB / 1.215 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.8442, allocations: 148.6 kB / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.8443, allocations: 43.44 kB / 1.215 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.8444, allocations: 77.67 kB / 1.215 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8446, allocations: 334.8 kB / 1.215 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.8448, allocations: 95.95 kB / 1.215 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.845, allocations: 160.1 kB / 1.215 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.8453, allocations: 224.6 kB / 1.216 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8453, allocations: 0 / 1.216 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005621/0.8459, allocations: 352.6 kB / 1.216 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.8459, allocations: 77.2 kB / 1.216 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.8459, allocations: 0 / 1.216 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.846, allocations: 4 kB / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.846, allocations: 24.05 kB / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8461, allocations: 3.984 kB / 1.216 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.8464, allocations: 75.77 kB / 1.216 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.8465, allocations: 15.98 kB / 1.216 GB, free: 4.176 MB / 0.9356 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.000143/0.8466, allocations: 155.5 kB / 1.216 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.8467, allocations: 19.75 kB / 1.216 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.8467, allocations: 29.8 kB / 1.216 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8467, allocations: 4 kB / 1.216 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.8467, allocations: 4 kB / 1.216 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8468, allocations: 0 / 1.216 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.847, allocations: 293.4 kB / 1.217 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.847, allocations: 0 / 1.217 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.8471, allocations: 24.03 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.8471, allocations: 7.922 kB / 1.217 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.8471, allocations: 4 kB / 1.217 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.8471, allocations: 0 / 1.217 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8471, allocations: 7.922 kB / 1.217 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.8474, allocations: 192.8 kB / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.8475, allocations: 104.7 kB / 1.217 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.8475, allocations: 11.98 kB / 1.217 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.8476, allocations: 15.98 kB / 1.217 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.8477, allocations: 31.95 kB / 1.217 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.8477, allocations: 8 kB / 1.217 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000112/0.8479, allocations: 147.1 kB / 1.217 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8479, allocations: 0 / 1.217 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002926/0.8482, allocations: 63.91 kB / 1.217 GB, free: 2.984 MB / 0.9356 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.0005849/0.8487, allocations: 0.7509 MB / 1.218 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.8492, allocations: 334.7 kB / 1.218 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8492, allocations: 0 / 1.218 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.8494, allocations: 79.86 kB / 1.218 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.8497, allocations: 44.22 kB / 1.218 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.8526, allocations: 2.428 MB / 1.221 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.8529, allocations: 0.744 MB / 1.221 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.614e-05/0.853, allocations: 21.95 kB / 1.221 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.8531, allocations: 79.39 kB / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.8531, allocations: 0 / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.874, allocations: 5.447 MB / 1.227 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/9.006, allocations: 15.7 kB / 1.227 GB, free: 9.039 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > 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