Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",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.0009321/0.0009322, allocations: 100.1 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.001014/0.001014, 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 1.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.39/2.39, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 16 kB / 0.8376 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7556/0.756, allocations: 146.8 MB / 0.9809 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.00229/0.7584, allocations: 1.76 MB / 0.9827 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.76, allocations: 1.077 MB / 0.9837 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.7601, allocations: 4 kB / 0.9837 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.7604, allocations: 75.7 kB / 0.9838 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.7606, allocations: 79.7 kB / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.7609, allocations: 135.7 kB / 0.984 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.7612, allocations: 180.2 kB / 0.9842 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.7614, allocations: 93.86 kB / 0.9842 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.7615, allocations: 103.5 kB / 0.9843 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.7616, allocations: 99.47 kB / 0.9844 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.7617, allocations: 8 kB / 0.9845 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.7618, allocations: 31.98 kB / 0.9845 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.7619, allocations: 71.73 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.7619, allocations: 65.58 kB / 0.9846 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.7622, allocations: 357.3 kB / 0.985 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7623, allocations: 0 / 0.985 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7623, allocations: 0 / 0.985 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7623, allocations: 0 / 0.985 GB, free: 2.215 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008187/0.7631, allocations: 0.5799 MB / 0.9855 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7631, allocations: 12.03 kB / 0.9855 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.7632, allocations: 46.55 kB / 0.9856 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.7633, allocations: 35.53 kB / 0.9856 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.7637, allocations: 326.4 kB / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.7637, allocations: 12 kB / 0.9859 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.7638, allocations: 20 kB / 0.986 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.7641, allocations: 181.3 kB / 0.9861 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.7641, allocations: 4 kB / 0.9861 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.7641, allocations: 4 kB / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.7641, allocations: 4 kB / 0.9861 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.7644, allocations: 123.9 kB / 0.9863 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/0.7653, allocations: 0.6715 MB / 0.9869 GB, free: 56 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.7657, allocations: 192.2 kB / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.7658, allocations: 7.984 kB / 0.9871 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.766, allocations: 137.2 kB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.766, allocations: 3.938 kB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0004663/0.7665, allocations: 229.2 kB / 0.9875 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.7665, allocations: 51.41 kB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.7669, allocations: 358.9 kB / 0.9878 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.7669, allocations: 33.7 kB / 0.9879 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.767, allocations: 168.4 kB / 0.988 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.7671, allocations: 51.39 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.7671, allocations: 4 kB / 0.9881 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7672, allocations: 346.7 kB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.7674, allocations: 87.97 kB / 0.9885 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.7676, allocations: 132.2 kB / 0.9886 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.7677, allocations: 80 kB / 0.9887 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7677, allocations: 3.953 kB / 0.9887 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003907/0.7681, allocations: 261.3 kB / 0.989 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.7681, allocations: 9.719 kB / 0.989 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7682, allocations: 0 / 0.989 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.7682, allocations: 4 kB / 0.989 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.7683, allocations: 39.92 kB / 0.989 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.7683, allocations: 4 kB / 0.989 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.7685, allocations: 43.84 kB / 0.9891 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.7685, allocations: 8 kB / 0.9891 GB, free: 13.77 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,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,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001525/0.7687, allocations: 171.5 kB / 0.9892 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.7688, allocations: 31.58 kB / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.092e-05/0.7688, allocations: 42.25 kB / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.7688, allocations: 0 / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7688, allocations: 3.938 kB / 0.9893 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7689, allocations: 4 kB / 0.9893 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.7691, allocations: 317.5 kB / 0.9896 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7691, allocations: 0 / 0.9896 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.7692, allocations: 15.95 kB / 0.9896 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7692, allocations: 0 / 0.9896 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.7692, allocations: 11.98 kB / 0.9896 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7693, allocations: 0 / 0.9896 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7693, allocations: 0 / 0.9896 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.7696, allocations: 216.5 kB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.7697, allocations: 100.8 kB / 0.9899 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.7697, allocations: 15.94 kB / 0.99 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.7698, allocations: 19.98 kB / 0.99 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.7699, allocations: 35.94 kB / 0.99 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.7699, allocations: 12 kB / 0.99 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000206/0.7701, allocations: 229.9 kB / 0.9902 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7701, allocations: 0 / 0.9902 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002887/0.7704, allocations: 63.78 kB / 0.9903 GB, free: 12.4 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: 14 ($whenCondition1,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,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.001404/0.7718, allocations: 1.073 MB / 0.9913 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.7722, allocations: 192.8 kB / 0.9915 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7722, allocations: 4 kB / 0.9915 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.7724, allocations: 81.62 kB / 0.9916 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.7726, allocations: 44.81 kB / 0.9917 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.7737, allocations: 0.9526 MB / 0.9926 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.774, allocations: 0.7872 MB / 0.9934 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000104/0.7742, allocations: 38.27 kB / 0.9934 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.7743, allocations: 95.39 kB / 0.9935 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.7743, allocations: 0 / 0.9935 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.7904, allocations: 5.895 MB / 0.9992 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.7906, allocations: 261.7 kB / 0.9995 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.475, allocations: 0 / 0.9995 GB, free: 3.195 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat does not exist to compare? outputFormat=mat