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.633/1.633, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009509/0.000951, allocations: 176.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 0.572 GB, free: 10.6 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.000835/0.0008351, allocations: 86.42 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.223e-05, allocations: 4 kB / 0.7881 GB, free: 96.95 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1987, allocations: 106.3 MB / 0.8919 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6866/0.8853, allocations: 132.7 MB / 1.022 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.8856, allocations: 78.25 kB / 1.022 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008933/0.8945, allocations: 3.135 MB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8946, allocations: 0 / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.8946, allocations: 4 kB / 1.025 GB, free: 15.2 MB / 0.6511 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.001062/0.8957, allocations: 0.513 MB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.8958, allocations: 8.031 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.8959, allocations: 59.78 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.8959, allocations: 23.72 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.8961, allocations: 210.6 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.8962, allocations: 14.69 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.8962, allocations: 22.5 kB / 1.026 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.8966, allocations: 175.1 kB / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8966, allocations: 0 / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.8966, allocations: 15.44 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.8966, allocations: 4 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.8969, allocations: 130.5 kB / 1.026 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.8981, allocations: 0.6309 MB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.8985, allocations: 164.5 kB / 1.027 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.8986, allocations: 66.67 kB / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.8986, allocations: 3.562 kB / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.8989, allocations: 143 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.774e-06/0.8989, allocations: 3.938 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0003601/0.8993, allocations: 169.4 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.8994, allocations: 62.39 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.8995, allocations: 185.9 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.8996, allocations: 35.52 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.8997, allocations: 139.3 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.8998, allocations: 53.09 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.8998, allocations: 7.5 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8999, allocations: 329.9 kB / 1.028 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.9001, allocations: 69.44 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.9003, allocations: 117.5 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.9004, allocations: 54.55 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9004, allocations: 0 / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003371/0.9007, allocations: 212.1 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.9008, allocations: 8 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.9008, allocations: 0 / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.9008, allocations: 0 / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.9011, allocations: 51.86 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.9011, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.9013, allocations: 55.55 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.9014, allocations: 11.61 kB / 1.028 GB, free: 11.9 MB / 0.6511 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 () * 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.00011/0.9015, allocations: 129.7 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.9015, allocations: 15.81 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.9016, allocations: 24.47 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.9016, allocations: 8.016 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9016, allocations: 3.953 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.9017, allocations: 4 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.902, allocations: 303.3 kB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.902, allocations: 4 kB / 1.029 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.9021, allocations: 31.97 kB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.9022, allocations: 4 kB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.9022, allocations: 3.938 kB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9022, allocations: 0 / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9022, allocations: 0 / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.9025, allocations: 214.6 kB / 1.029 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.9026, allocations: 88.92 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.9026, allocations: 7.875 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.9029, allocations: 43.83 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.903, allocations: 54.16 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.903, allocations: 8 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001092/0.9031, allocations: 138.1 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9031, allocations: 0 / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002515/0.9034, allocations: 55.11 kB / 1.029 GB, free: 10.86 MB / 0.6511 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) * 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.0006677/0.9041, allocations: 0.7592 MB / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.9044, allocations: 169.2 kB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9044, allocations: 0 / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.9046, allocations: 92.81 kB / 1.03 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.9048, allocations: 18.75 kB / 1.03 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/0.9055, allocations: 301.1 kB / 1.031 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.9059, allocations: 0.7441 MB / 1.031 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.906, allocations: 26.06 kB / 1.031 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.9061, allocations: 65.84 kB / 1.031 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of SimCode: time 7.02e-07/0.9061, allocations: 4 kB / 1.032 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.9208, allocations: 4.318 MB / 1.036 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.921, allocations: 190.2 kB / 1.036 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.684, allocations: 2.406 kB / 1.036 GB, free: 4.465 MB / 0.6511 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)