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.00152/0.001521, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.002078/0.002078, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.5/2.5, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.152/4.152, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007198/0.0007201, allocations: 12 kB / 0.8375 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34/1.341, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002021/1.343, allocations: 0.8186 MB / 0.9817 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002437/1.346, allocations: 1.311 MB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/1.346, allocations: 0 / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/1.346, allocations: 15.8 kB / 0.983 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/1.346, allocations: 31.89 kB / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008247/1.347, allocations: 236.9 kB / 0.9832 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/1.347, allocations: 200.2 kB / 0.9834 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/1.348, allocations: 94.62 kB / 0.9835 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/1.348, allocations: 107.6 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/1.348, allocations: 111.5 kB / 0.9837 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/1.348, allocations: 12 kB / 0.9837 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/1.348, allocations: 27.98 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/1.348, allocations: 35.83 kB / 0.9838 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/1.348, allocations: 69.58 kB / 0.9839 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/1.349, allocations: 361.3 kB / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/1.349, allocations: 0 / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/1.349, allocations: 0 / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.622e-06/1.349, allocations: 0 / 0.9842 GB, free: 2.812 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.001037/1.35, allocations: 0.5641 MB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.35, allocations: 8.031 kB / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.503e-05/1.35, allocations: 54.55 kB / 0.9848 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/1.35, allocations: 31.7 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/1.351, allocations: 326.4 kB / 0.9852 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/1.351, allocations: 20 kB / 0.9852 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/1.351, allocations: 24 kB / 0.9852 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/1.351, allocations: 177.4 kB / 0.9854 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.351, allocations: 4 kB / 0.9854 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/1.351, allocations: 8 kB / 0.9854 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/1.351, allocations: 4 kB / 0.9854 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/1.352, allocations: 111.9 kB / 0.9855 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/1.353, allocations: 0.7069 MB / 0.9862 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/1.353, allocations: 174.8 kB / 0.9864 GB, free: 448 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/1.353, allocations: 4 kB / 0.9864 GB, free: 444 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/1.354, allocations: 124.4 kB / 0.9865 GB, free: 308 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/1.354, allocations: 0 / 0.9865 GB, free: 308 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0005562/1.354, allocations: 219.2 kB / 0.9867 GB, free: 84 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/1.354, allocations: 59.34 kB / 0.9867 GB, free: 12 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/1.355, allocations: 222.8 kB / 0.987 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/1.355, allocations: 37.7 kB / 0.987 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/1.355, allocations: 140.7 kB / 0.9871 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/1.355, allocations: 51.27 kB / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/1.355, allocations: 8 kB / 0.9872 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000232/1.355, allocations: 326.8 kB / 0.9875 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/1.355, allocations: 95.95 kB / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/1.356, allocations: 168.5 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/1.356, allocations: 147.4 kB / 0.9879 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.356, allocations: 0 / 0.9879 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007608/1.357, allocations: 359.5 kB / 0.9882 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/1.357, allocations: 64.81 kB / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.357, allocations: 4 kB / 0.9883 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/1.357, allocations: 0 / 0.9883 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/1.357, allocations: 15.98 kB / 0.9883 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.357, allocations: 4 kB / 0.9883 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/1.358, allocations: 111.8 kB / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/1.358, allocations: 23.92 kB / 0.9884 GB, free: 14.18 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.0002967/1.358, allocations: 143.6 kB / 0.9886 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/1.358, allocations: 23.7 kB / 0.9886 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.171e-05/1.358, allocations: 21.88 kB / 0.9886 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.358, allocations: 4 kB / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.358, allocations: 4 kB / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.358, allocations: 0 / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/1.359, allocations: 301.4 kB / 0.9889 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.359, allocations: 7.938 kB / 0.9889 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/1.359, allocations: 15.94 kB / 0.9889 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.359, allocations: 0 / 0.9889 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/1.359, allocations: 7.984 kB / 0.9889 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.359, allocations: 0 / 0.9889 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.359, allocations: 0 / 0.9889 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/1.359, allocations: 205.6 kB / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/1.359, allocations: 92.91 kB / 0.9892 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/1.359, allocations: 11.94 kB / 0.9892 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.74e-05/1.359, allocations: 11.98 kB / 0.9893 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.36, allocations: 39.94 kB / 0.9893 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/1.36, allocations: 4 kB / 0.9893 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001733/1.36, allocations: 148.4 kB / 0.9894 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.36, allocations: 4 kB / 0.9894 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000358/1.36, allocations: 55.84 kB / 0.9895 GB, free: 13.01 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.001169/1.361, allocations: 0.7581 MB / 0.9902 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.362, allocations: 335 kB / 0.9906 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.362, allocations: 0 / 0.9906 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/1.363, allocations: 85.78 kB / 0.9906 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/1.363, allocations: 39.73 kB / 0.9907 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/1.366, allocations: 1.28 MB / 0.9919 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/1.366, allocations: 0.7523 MB / 0.9927 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001572/1.366, allocations: 29.98 kB / 0.9927 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/1.367, allocations: 75.41 kB / 0.9928 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of SimCode: time 7.51e-07/1.367, allocations: 3.938 kB / 0.9928 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/1.405, allocations: 5.083 MB / 0.9977 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/1.405, allocations: 202.8 kB / 0.9979 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/4.438, allocations: 0 / 0.9979 GB, free: 4.418 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