Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 178.1 kB / 326.5 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000852/0.000852, allocations: 89.48 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003425, allocations: 11.55 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 106.4 MB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.3843, allocations: 132.8 MB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.3847, allocations: 79.94 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00855/0.3932, allocations: 3.131 MB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3933, allocations: 4 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.3933, allocations: 4 kB / 1.033 GB, free: 7.512 MB / 0.6823 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.001044/0.3944, allocations: 0.5312 MB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.3944, allocations: 8.031 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.995e-05/0.3945, allocations: 54.55 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.898e-05/0.3946, allocations: 23.72 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3949, allocations: 206.8 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.3949, allocations: 16 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.3949, allocations: 23.94 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.3954, allocations: 221.5 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3955, allocations: 0 / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.3955, allocations: 11.98 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3955, allocations: 11.92 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.3961, allocations: 207.9 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.3972, allocations: 0.6256 MB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.3979, allocations: 242.4 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.398, allocations: 0 / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/0.3985, allocations: 195.8 kB / 1.035 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.3985, allocations: 0 / 1.035 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0009856/0.3995, allocations: 343.8 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.3995, allocations: 59.39 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3997, allocations: 181.6 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.3998, allocations: 33.7 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3999, allocations: 148.3 kB / 1.036 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.4, allocations: 43.5 kB / 1.036 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.4, allocations: 4 kB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4001, allocations: 330.8 kB / 1.036 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.4004, allocations: 119.9 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.4008, allocations: 151.3 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.401, allocations: 96.95 kB / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.401, allocations: 4 kB / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000635/0.4017, allocations: 285.3 kB / 1.037 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4017, allocations: 4 kB / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4017, allocations: 7.953 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4017, allocations: 0 / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.402, allocations: 55.83 kB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.402, allocations: 0 / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.4023, allocations: 63.8 kB / 1.037 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.4023, allocations: 4 kB / 1.037 GB, free: 3.02 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001602/0.4025, allocations: 151.6 kB / 1.037 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.4025, allocations: 19.81 kB / 1.037 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.674e-05/0.4026, allocations: 25.86 kB / 1.037 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4026, allocations: 7.953 kB / 1.037 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4026, allocations: 0 / 1.037 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4026, allocations: 0 / 1.037 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.4029, allocations: 297.5 kB / 1.038 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4029, allocations: 0 / 1.038 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.4031, allocations: 43.91 kB / 1.038 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4031, allocations: 0 / 1.038 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.4032, allocations: 11.98 kB / 1.038 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4032, allocations: 3.953 kB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4032, allocations: 0 / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.4038, allocations: 288.3 kB / 1.038 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.4039, allocations: 92.86 kB / 1.038 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.4039, allocations: 8 kB / 1.038 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.4041, allocations: 43.95 kB / 1.038 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.4043, allocations: 59.86 kB / 1.038 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4043, allocations: 4 kB / 1.038 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001101/0.4044, allocations: 135.2 kB / 1.038 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4044, allocations: 0 / 1.038 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002301/0.4047, allocations: 40 kB / 1.038 GB, free: 1.727 MB / 0.6823 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 ($whenCondition2,$whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,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): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009807/0.4056, allocations: 0.8408 MB / 1.039 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006416/0.4063, allocations: 255.8 kB / 1.039 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4063, allocations: 0 / 1.039 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.4066, allocations: 127.9 kB / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.4069, allocations: 23.92 kB / 1.04 GB, free: 468 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.4094, allocations: 1.302 MB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4098, allocations: 0.7401 MB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.4099, allocations: 25.94 kB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.4101, allocations: 67.41 kB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.4101, allocations: 0 / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.4255, allocations: 4.302 MB / 1.046 GB, free: 10.17 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.4257, allocations: 223.9 kB / 1.046 GB, free: 9.934 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.285, allocations: 2.578 kB / 1.046 GB, free: 9.934 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)