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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_10_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_10_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.004138/0.004138, allocations: 99.06 kB / 15.73 MB, free: 6.492 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.001238/0.001238, allocations: 198.8 kB / 16.68 MB, free: 6.375 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.264/2.264, allocations: 437.1 MB / 0.7106 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 67.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2331, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002004/0.2352, allocations: 1.156 MB / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2368, allocations: 1.374 MB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.34e-05/0.2369, allocations: 0 / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.153e-05/0.237, allocations: 23.67 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.2371, allocations: 47.59 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.2378, allocations: 298.8 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.2382, allocations: 435.7 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.2384, allocations: 116.2 kB / 1.17 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.2386, allocations: 159.5 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.2388, allocations: 151.4 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.2388, allocations: 44 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.2389, allocations: 63.92 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.239, allocations: 55.83 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.2391, allocations: 163.3 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.2396, allocations: 490.5 kB / 1.171 GB, free: 2.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2396, allocations: 0 / 1.171 GB, free: 2.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2396, allocations: 0 / 1.171 GB, free: 2.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2396, allocations: 0 / 1.171 GB, free: 2.777 MB / 0.92 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.0008011/0.2404, allocations: 0.6225 MB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2405, allocations: 8.031 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.2405, allocations: 50.73 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.2406, allocations: 36.75 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.2412, allocations: 335.5 kB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.2412, allocations: 24.33 kB / 1.172 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.2413, allocations: 28.36 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.2415, allocations: 177.7 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2415, allocations: 0 / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.2416, allocations: 8 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2416, allocations: 8 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.2418, allocations: 123.8 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.2426, allocations: 0.6798 MB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.243, allocations: 158.9 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2431, allocations: 72.78 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2431, allocations: 0 / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.2433, allocations: 133.3 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.2434, allocations: 4 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of matching and sorting (n=20): time 0.0003878/0.2438, allocations: 220.1 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.2438, allocations: 63.34 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.244, allocations: 211.1 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.244, allocations: 41.7 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.2441, allocations: 148.7 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.2442, allocations: 47.67 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.2443, allocations: 77.67 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2444, allocations: 334.8 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.2446, allocations: 104 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.2448, allocations: 155.8 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.2451, allocations: 213.4 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2451, allocations: 4 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005031/0.2456, allocations: 358.4 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.2457, allocations: 71.33 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2457, allocations: 0 / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2457, allocations: 4 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.2458, allocations: 23.94 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2458, allocations: 4.125 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.2461, allocations: 83.75 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2462, allocations: 12 kB / 1.175 GB, free: 13.89 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.0001392/0.2463, allocations: 159.5 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.2464, allocations: 19.84 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.2464, allocations: 25.91 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2464, allocations: 4 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2464, allocations: 3.984 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2464, allocations: 0 / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.2467, allocations: 293.4 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2467, allocations: 0 / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.2468, allocations: 15.98 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2468, allocations: 7.938 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.2468, allocations: 11.94 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2468, allocations: 0 / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2468, allocations: 0 / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.2471, allocations: 200.8 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.2471, allocations: 96.89 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.2472, allocations: 8 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.2472, allocations: 19.98 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.2473, allocations: 31.95 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.2473, allocations: 7.984 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001134/0.2475, allocations: 148.4 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.2475, allocations: 0 / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002396/0.2477, allocations: 59.89 kB / 1.176 GB, free: 12.69 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.0005449/0.2483, allocations: 0.755 MB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004451/0.2487, allocations: 338.6 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2487, allocations: 0 / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.2488, allocations: 75.92 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2491, allocations: 64.28 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.2517, allocations: 2.438 MB / 1.18 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.252, allocations: 0.7363 MB / 1.18 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.538e-05/0.2521, allocations: 25.94 kB / 1.18 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2522, allocations: 79.41 kB / 1.181 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.2522, allocations: 0 / 1.181 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.167/3.42, allocations: 5.44 MB / 1.186 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.44/20.85, allocations: 6.25 kB / 1.186 GB, free: 2.734 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > 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