Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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.001045/0.001045, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.001215/0.001215, allocations: 176.7 kB / 15.95 MB, free: 192 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.7303, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001226/0.7316, allocations: 0.8029 MB / 0.9547 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.733, allocations: 1.338 MB / 0.956 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.7331, allocations: 3.438 kB / 0.956 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.7331, allocations: 15.8 kB / 0.956 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.7332, allocations: 26.88 kB / 0.956 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.7338, allocations: 235.5 kB / 0.9562 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.7341, allocations: 344.6 kB / 0.9566 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.7342, allocations: 91.11 kB / 0.9567 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.7344, allocations: 111.6 kB / 0.9568 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.7345, allocations: 106.4 kB / 0.9569 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.7346, allocations: 14.03 kB / 0.9569 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.7347, allocations: 27.23 kB / 0.9569 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.7347, allocations: 33.2 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.7348, allocations: 73.33 kB / 0.957 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.7351, allocations: 369.2 kB / 0.9574 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.7351, allocations: 0 / 0.9574 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7351, allocations: 4 kB / 0.9574 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.7351, allocations: 0 / 0.9574 GB, free: 5.426 MB / 0.7169 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.000657/0.7358, allocations: 0.5544 MB / 0.9579 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.7358, allocations: 9.344 kB / 0.9579 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.7359, allocations: 53.17 kB / 0.958 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.7359, allocations: 37.77 kB / 0.958 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.7365, allocations: 334.2 kB / 0.9583 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.7365, allocations: 16.38 kB / 0.9583 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.7366, allocations: 28.47 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.7369, allocations: 167.2 kB / 0.9585 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7369, allocations: 0 / 0.9585 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.737, allocations: 10.34 kB / 0.9585 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.737, allocations: 8.609 kB / 0.9585 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.7372, allocations: 113.3 kB / 0.9586 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009296/0.7381, allocations: 0.7018 MB / 0.9593 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.7385, allocations: 164.7 kB / 0.9595 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.7387, allocations: 72.39 kB / 0.9596 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.7387, allocations: 5.328 kB / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.7389, allocations: 142.2 kB / 0.9597 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.739, allocations: 0 / 0.9597 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004185/0.7394, allocations: 216.8 kB / 0.9599 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.7394, allocations: 55.53 kB / 0.96 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.7396, allocations: 213.3 kB / 0.9602 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.7397, allocations: 37.05 kB / 0.9602 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.7398, allocations: 151.3 kB / 0.9603 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.7398, allocations: 45.69 kB / 0.9604 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.7398, allocations: 7.844 kB / 0.9604 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.7399, allocations: 335.4 kB / 0.9607 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.7401, allocations: 97.05 kB / 0.9608 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.7403, allocations: 160.9 kB / 0.961 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.7405, allocations: 146.5 kB / 0.9611 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7405, allocations: 0 / 0.9611 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005062/0.741, allocations: 356.2 kB / 0.9614 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.7411, allocations: 66.09 kB / 0.9615 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7411, allocations: 5.094 kB / 0.9615 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.7411, allocations: 5.969 kB / 0.9615 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.7412, allocations: 16.98 kB / 0.9615 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.7412, allocations: 3 kB / 0.9615 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.7416, allocations: 102.8 kB / 0.9616 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.7416, allocations: 19.64 kB / 0.9616 GB, free: 1.961 MB / 0.7169 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.0001333/0.7418, allocations: 157.4 kB / 0.9618 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.7418, allocations: 27.67 kB / 0.9618 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.7419, allocations: 22.62 kB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7419, allocations: 2.344 kB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.7419, allocations: 0 / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7419, allocations: 5.266 kB / 0.9618 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.7421, allocations: 292.9 kB / 0.9621 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7421, allocations: 0 / 0.9621 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.7422, allocations: 23.97 kB / 0.9621 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.7422, allocations: 0.75 kB / 0.9621 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.7422, allocations: 6.391 kB / 0.9622 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7422, allocations: 1.031 kB / 0.9622 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7422, allocations: 0 / 0.9622 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.7425, allocations: 200.6 kB / 0.9623 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.7425, allocations: 93.69 kB / 0.9624 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.7426, allocations: 6.594 kB / 0.9624 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.7426, allocations: 19.83 kB / 0.9625 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.7427, allocations: 37.88 kB / 0.9625 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7428, allocations: 13.06 kB / 0.9625 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.133e-05/0.7428, allocations: 144 kB / 0.9626 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7429, allocations: 1.031 kB / 0.9626 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002793/0.7431, allocations: 58.19 kB / 0.9627 GB, free: 1.07 MB / 0.7169 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.0004354/0.7436, allocations: 0.7612 MB / 0.9634 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.744, allocations: 330.1 kB / 0.9638 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.744, allocations: 0 / 0.9638 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.7441, allocations: 81.16 kB / 0.9638 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.7444, allocations: 40.78 kB / 0.9639 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.7464, allocations: 1.325 MB / 0.9652 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.7467, allocations: 0.7451 MB / 0.9659 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.7468, allocations: 23.86 kB / 0.9659 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.7469, allocations: 76.91 kB / 0.966 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7469, allocations: 0 / 0.966 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.7646, allocations: 5.196 MB / 0.9711 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.7648, allocations: 202.6 kB / 0.9713 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.566, allocations: 0 / 0.9713 GB, free: 11.72 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat does not exist to compare? outputFormat=mat