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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> 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.0007595/0.0007594, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008502/0.0008503, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.694/2.694, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003127, allocations: 12 kB / 0.8378 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6674/0.6677, allocations: 146.8 MB / 0.9812 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001772/0.6696, allocations: 0.8145 MB / 0.982 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.672, allocations: 1.335 MB / 0.9833 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.6722, allocations: 8 kB / 0.9833 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.264e-05/0.6722, allocations: 15.8 kB / 0.9833 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.6724, allocations: 23.78 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007614/0.6732, allocations: 237.5 kB / 0.9835 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.6736, allocations: 343.9 kB / 0.9839 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.6738, allocations: 82.66 kB / 0.9839 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.674, allocations: 111.5 kB / 0.984 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.6742, allocations: 111.5 kB / 0.9841 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.6743, allocations: 12 kB / 0.9842 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/0.6744, allocations: 23.98 kB / 0.9842 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.6745, allocations: 43.72 kB / 0.9842 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.6746, allocations: 69.58 kB / 0.9843 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.675, allocations: 365.2 kB / 0.9846 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6751, allocations: 0 / 0.9846 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6751, allocations: 0 / 0.9846 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.6751, allocations: 0 / 0.9846 GB, free: 2.633 MB / 0.7325 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.001195/0.6763, allocations: 0.5642 MB / 0.9852 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.6764, allocations: 8.031 kB / 0.9852 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.6765, allocations: 50.55 kB / 0.9852 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.6767, allocations: 31.7 kB / 0.9853 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008012/0.6775, allocations: 326.3 kB / 0.9856 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.6775, allocations: 24 kB / 0.9856 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.6776, allocations: 32 kB / 0.9856 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.6779, allocations: 169.5 kB / 0.9858 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.678, allocations: 0 / 0.9858 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.678, allocations: 8 kB / 0.9858 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.678, allocations: 4 kB / 0.9858 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.6782, allocations: 123.9 kB / 0.9859 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6794, allocations: 0.7069 MB / 0.9866 GB, free: 440 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.6798, allocations: 169.2 kB / 0.9868 GB, free: 264 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.6799, allocations: 64.84 kB / 0.9868 GB, free: 196 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.6799, allocations: 0 / 0.9868 GB, free: 196 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.6802, allocations: 127.3 kB / 0.987 GB, free: 56 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.6802, allocations: 0 / 0.987 GB, free: 56 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004655/0.6807, allocations: 219.6 kB / 0.9872 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.6808, allocations: 67.34 kB / 0.9872 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.681, allocations: 206.8 kB / 0.9874 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.681, allocations: 41.7 kB / 0.9875 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.6812, allocations: 152.6 kB / 0.9876 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.6812, allocations: 47.36 kB / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.6813, allocations: 11.94 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6814, allocations: 330.8 kB / 0.988 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.6816, allocations: 95.95 kB / 0.9881 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.6819, allocations: 164.5 kB / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.6821, allocations: 139.5 kB / 0.9884 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6821, allocations: 8 kB / 0.9884 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005725/0.6827, allocations: 351.6 kB / 0.9887 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.6828, allocations: 64.64 kB / 0.9888 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6828, allocations: 0 / 0.9888 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6828, allocations: 4 kB / 0.9888 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.6829, allocations: 23.92 kB / 0.9888 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6829, allocations: 4 kB / 0.9888 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.6833, allocations: 111.8 kB / 0.9889 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.6833, allocations: 15.98 kB / 0.9889 GB, free: 13.93 MB / 0.7481 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,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,$PRE.uCoo.booPul.y,uCoo.booPul.y,$PRE.uHea.booPul.y,uHea.booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.6835, allocations: 151.6 kB / 0.9891 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.6836, allocations: 23.7 kB / 0.9891 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.6836, allocations: 25.86 kB / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6837, allocations: 8 kB / 0.9891 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6837, allocations: 0 / 0.9891 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6837, allocations: 0 / 0.9891 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.684, allocations: 297.4 kB / 0.9894 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.684, allocations: 0 / 0.9894 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.684, allocations: 19.92 kB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6841, allocations: 0 / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.6841, allocations: 4 kB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6841, allocations: 4 kB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6841, allocations: 0 / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.6844, allocations: 202.8 kB / 0.9896 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.6845, allocations: 92.92 kB / 0.9897 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.6845, allocations: 4 kB / 0.9897 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.6846, allocations: 19.98 kB / 0.9897 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.6847, allocations: 35.94 kB / 0.9898 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.6847, allocations: 7.984 kB / 0.9898 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000137/0.6849, allocations: 152.3 kB / 0.9899 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.6849, allocations: 0 / 0.9899 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002911/0.6852, allocations: 63.84 kB / 0.99 GB, free: 12.75 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005855/0.6858, allocations: 0.7448 MB / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.6863, allocations: 344.6 kB / 0.9911 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6863, allocations: 3.938 kB / 0.9911 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.6864, allocations: 75.92 kB / 0.9911 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.6867, allocations: 48.84 kB / 0.9912 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.6888, allocations: 1.331 MB / 0.9925 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.6891, allocations: 0.7404 MB / 0.9932 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.6892, allocations: 25.94 kB / 0.9932 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.6893, allocations: 75.41 kB / 0.9933 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.6893, allocations: 0 / 0.9933 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.7073, allocations: 5.193 MB / 0.9984 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003908/0.7078, allocations: 209.9 kB / 0.9986 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.616, allocations: 10.44 kB / 0.9986 GB, free: 4.02 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat does not exist to compare? outputFormat=mat