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.432/1.432, allocations: 288.4 MB / 303.6 MB, free: 8.113 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.0008653/0.0008653, allocations: 188.4 kB / 372.3 MB, free: 10.16 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.11/1.11, allocations: 205.4 MB / 0.631 GB, free: 9.941 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.0007018/0.0007018, allocations: 102.2 kB / 0.7444 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 15.56 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.001721/0.142, allocations: 1.751 MB / 0.982 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1432, allocations: 1.019 MB / 0.983 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1433, allocations: 4 kB / 0.983 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1436, allocations: 83.64 kB / 0.983 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.1438, allocations: 75.66 kB / 0.9831 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1441, allocations: 123.8 kB / 0.9832 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1443, allocations: 283.9 kB / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.1445, allocations: 114.4 kB / 0.9836 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1446, allocations: 103.5 kB / 0.9837 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1447, allocations: 103.5 kB / 0.9838 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1448, allocations: 12 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1449, allocations: 47.91 kB / 0.9839 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.145, allocations: 67.69 kB / 0.9839 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.145, allocations: 129 kB / 0.984 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1453, allocations: 371.3 kB / 0.9844 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1453, allocations: 4 kB / 0.9844 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1453, allocations: 0 / 0.9844 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1453, allocations: 0 / 0.9844 GB, free: 22.96 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.0007064/0.146, allocations: 0.5836 MB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1461, allocations: 8.031 kB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.1461, allocations: 54.73 kB / 0.985 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.1462, allocations: 36.55 kB / 0.9851 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1465, allocations: 348.1 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1466, allocations: 24.12 kB / 0.9854 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1466, allocations: 20 kB / 0.9854 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1469, allocations: 173.6 kB / 0.9856 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1469, allocations: 4 kB / 0.9856 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1469, allocations: 4 kB / 0.9856 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1469, allocations: 4 kB / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.1471, allocations: 139.7 kB / 0.9858 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/0.1479, allocations: 0.6756 MB / 0.9864 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.1483, allocations: 194.9 kB / 0.9866 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1484, allocations: 68.83 kB / 0.9867 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1484, allocations: 7.938 kB / 0.9867 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.1486, allocations: 124.9 kB / 0.9868 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.1486, allocations: 0 / 0.9868 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000404/0.149, allocations: 243 kB / 0.987 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.1491, allocations: 63.34 kB / 0.9871 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.1493, allocations: 372.4 kB / 0.9874 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1494, allocations: 41.58 kB / 0.9875 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.1495, allocations: 180.3 kB / 0.9877 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.1495, allocations: 51.38 kB / 0.9877 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.1495, allocations: 4 kB / 0.9877 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.1496, allocations: 338.8 kB / 0.988 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1497, allocations: 87.97 kB / 0.9881 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1499, allocations: 140.2 kB / 0.9882 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1501, allocations: 154.2 kB / 0.9884 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1501, allocations: 0 / 0.9884 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003497/0.1505, allocations: 273.2 kB / 0.9887 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1505, allocations: 4 kB / 0.9887 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1505, allocations: 0 / 0.9887 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1505, allocations: 8.031 kB / 0.9887 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1507, allocations: 31.92 kB / 0.9887 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1507, allocations: 11.92 kB / 0.9887 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1508, allocations: 35.83 kB / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1509, allocations: 12 kB / 0.9888 GB, free: 18.25 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.0001202/0.151, allocations: 180.2 kB / 0.9889 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.151, allocations: 23.72 kB / 0.9889 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.044e-05/0.1511, allocations: 30.36 kB / 0.989 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1511, allocations: 4 kB / 0.989 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1511, allocations: 3.938 kB / 0.989 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1511, allocations: 0 / 0.989 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1513, allocations: 337.3 kB / 0.9893 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1513, allocations: 0 / 0.9893 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.1514, allocations: 20 kB / 0.9893 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1514, allocations: 0 / 0.9893 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1514, allocations: 7.984 kB / 0.9893 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1514, allocations: 3.938 kB / 0.9893 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1514, allocations: 7.938 kB / 0.9893 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1517, allocations: 217.7 kB / 0.9896 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.1518, allocations: 96.83 kB / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.1518, allocations: 15.98 kB / 0.9897 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1519, allocations: 19.98 kB / 0.9897 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.152, allocations: 35.89 kB / 0.9897 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.152, allocations: 11.98 kB / 0.9897 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001634/0.1522, allocations: 235 kB / 0.9899 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.42e-07/0.1522, allocations: 0 / 0.9899 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002391/0.1524, allocations: 67.78 kB / 0.99 GB, free: 16.86 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.001036/0.1535, allocations: 1.081 MB / 0.9911 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.1538, allocations: 191.9 kB / 0.9913 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1538, allocations: 4.062 kB / 0.9913 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1539, allocations: 82.41 kB / 0.9913 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.1542, allocations: 53.31 kB / 0.9914 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.1561, allocations: 1.766 MB / 0.9931 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.1563, allocations: 0.7791 MB / 0.9939 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.1564, allocations: 46.27 kB / 0.9939 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.1565, allocations: 111.3 kB / 0.994 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.1565, allocations: 0 / 0.994 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4758/0.6323, allocations: 6.23 MB / 1 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.6325, allocations: 264.4 kB / 1 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.722, allocations: 0 / 1 GB, free: 6.402 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)