Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.2 MB / 303.2 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 174.2 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 90.7 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004548, allocations: 15.14 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2579, allocations: 115.3 MB / 0.9795 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.00233/0.2603, allocations: 1.743 MB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.262, allocations: 1.012 MB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.2621, allocations: 7.938 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.2625, allocations: 79.69 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.2628, allocations: 75.7 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.2631, allocations: 137.8 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2633, allocations: 176.2 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.2635, allocations: 93.88 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2636, allocations: 107.5 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2638, allocations: 103.5 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.2638, allocations: 8 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.2639, allocations: 43.91 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.264, allocations: 63.73 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.2641, allocations: 73.52 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.2644, allocations: 363.3 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2644, allocations: 0 / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2644, allocations: 0 / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2644, allocations: 4 kB / 0.9835 GB, free: 23.44 MB / 0.6198 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.0008456/0.2652, allocations: 0.5835 MB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2653, allocations: 8.031 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.2654, allocations: 62.5 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.2654, allocations: 31.62 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.2658, allocations: 334.9 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.2659, allocations: 20 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.2659, allocations: 16 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.2662, allocations: 177.5 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2662, allocations: 0 / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.2663, allocations: 11.95 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2663, allocations: 4 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.2665, allocations: 135.7 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.2674, allocations: 0.6795 MB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.2678, allocations: 190.9 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.2679, allocations: 4 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.2681, allocations: 129.3 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.2681, allocations: 0 / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004406/0.2685, allocations: 253.1 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2686, allocations: 51.41 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.2689, allocations: 368.4 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.2689, allocations: 37.7 kB / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2691, allocations: 176.3 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.2691, allocations: 47.39 kB / 0.9867 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.2691, allocations: 8 kB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2692, allocations: 346.8 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.2694, allocations: 87.97 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.2696, allocations: 132.2 kB / 0.9872 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2697, allocations: 92.42 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2697, allocations: 0 / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003666/0.2701, allocations: 273.2 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2701, allocations: 13.55 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2701, allocations: 4 kB / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2702, allocations: 3.938 kB / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2703, allocations: 35.92 kB / 0.9877 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2703, allocations: 3.984 kB / 0.9877 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.2705, allocations: 43.81 kB / 0.9877 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.2705, allocations: 16 kB / 0.9877 GB, free: 18.88 MB / 0.6198 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.0001406/0.2707, allocations: 168.2 kB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.2707, allocations: 23.72 kB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.2708, allocations: 42.31 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2708, allocations: 0 / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.2708, allocations: 3.984 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2708, allocations: 0 / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.2711, allocations: 337.3 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2711, allocations: 4 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.467e-05/0.2712, allocations: 23.92 kB / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2712, allocations: 0 / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2712, allocations: 4 kB / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2712, allocations: 11.95 kB / 0.9883 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2712, allocations: 0 / 0.9883 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.2717, allocations: 204.7 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.2718, allocations: 116.7 kB / 0.9886 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.2719, allocations: 8 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.272, allocations: 15.98 kB / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2722, allocations: 43.92 kB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2722, allocations: 4 kB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000322/0.2726, allocations: 243 kB / 0.9889 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.182e-06/0.2726, allocations: 0 / 0.9889 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004515/0.273, allocations: 67.77 kB / 0.989 GB, free: 17.49 MB / 0.6198 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.001766/0.2748, allocations: 1.068 MB / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.2752, allocations: 203.8 kB / 0.9902 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2752, allocations: 0 / 0.9902 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2753, allocations: 87.91 kB / 0.9903 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.2757, allocations: 50.11 kB / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.2771, allocations: 0.9669 MB / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.2774, allocations: 0.7947 MB / 0.9921 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.2775, allocations: 42.27 kB / 0.9921 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.2776, allocations: 99.39 kB / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2776, allocations: 0 / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.3014, allocations: 6.052 MB / 0.9981 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.3017, allocations: 260 kB / 0.9984 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.474, allocations: 3.375 kB / 0.9984 GB, free: 8.012 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.8.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_8_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_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)