Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.856/2.856, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001444/0.001444, allocations: 182.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009723/0.0009719, allocations: 90.41 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007465/0.0007469, allocations: 12 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2241, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002713/0.2269, allocations: 1.737 MB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2291, allocations: 1.027 MB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2293, allocations: 3.938 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.2297, allocations: 79.7 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.23, allocations: 71.67 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.2306, allocations: 125.7 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.231, allocations: 283.9 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.2312, allocations: 101.8 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.2314, allocations: 103.4 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.2316, allocations: 107.5 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.2316, allocations: 8 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.2318, allocations: 47.95 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.2319, allocations: 55.77 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.232, allocations: 77.45 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.2325, allocations: 375.3 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2325, allocations: 0 / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2325, allocations: 0 / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2325, allocations: 0 / 0.9826 GB, free: 24 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.001168/0.2337, allocations: 0.5759 MB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2337, allocations: 8.031 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.241e-05/0.2338, allocations: 54.55 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.426e-05/0.2339, allocations: 31.62 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.2345, allocations: 346.8 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.2345, allocations: 15.78 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.2346, allocations: 24 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.2351, allocations: 169.6 kB / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2351, allocations: 7.953 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.2352, allocations: 7.984 kB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2352, allocations: 4 kB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.2356, allocations: 136.4 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.237, allocations: 0.6756 MB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.2377, allocations: 202.8 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2379, allocations: 68.83 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.238, allocations: 4 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.2383, allocations: 133.4 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.996e-06/0.2383, allocations: 0 / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0007383/0.2391, allocations: 237.2 kB / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2391, allocations: 55.41 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.2396, allocations: 376.3 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.2397, allocations: 37.7 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2398, allocations: 168.4 kB / 0.9858 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.2399, allocations: 47.44 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.2399, allocations: 7.938 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.24, allocations: 342.8 kB / 0.9862 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.2403, allocations: 95.97 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.2406, allocations: 136.2 kB / 0.9864 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.2408, allocations: 88.48 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2408, allocations: 0 / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006745/0.2415, allocations: 281.2 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2416, allocations: 11.97 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2416, allocations: 3.984 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2416, allocations: 0 / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.2419, allocations: 31.98 kB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2419, allocations: 4 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.2422, allocations: 43.75 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.2423, allocations: 12 kB / 0.9869 GB, free: 19.38 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.0002359/0.2425, allocations: 179.6 kB / 0.987 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.2426, allocations: 27.67 kB / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/0.2427, allocations: 30.36 kB / 0.9871 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2427, allocations: 4 kB / 0.9871 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2427, allocations: 0 / 0.9871 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2428, allocations: 0 / 0.9871 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.2431, allocations: 337.3 kB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2431, allocations: 11.94 kB / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.2433, allocations: 16 kB / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.2433, allocations: 3.953 kB / 0.9874 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2433, allocations: 7.984 kB / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2434, allocations: 0 / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2434, allocations: 0 / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.2439, allocations: 222.7 kB / 0.9877 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.2439, allocations: 96.83 kB / 0.9878 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.244, allocations: 19.95 kB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2442, allocations: 19.97 kB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2444, allocations: 31.95 kB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.2444, allocations: 11.98 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003046/0.2447, allocations: 235 kB / 0.9881 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2447, allocations: 0 / 0.9881 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004008/0.2451, allocations: 63.84 kB / 0.9881 GB, free: 17.99 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.001849/0.247, allocations: 1.088 MB / 0.9892 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006067/0.2477, allocations: 198.5 kB / 0.9894 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.2477, allocations: 0 / 0.9894 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.2479, allocations: 83.89 kB / 0.9894 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.2484, allocations: 49.89 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.2521, allocations: 1.767 MB / 0.9912 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2524, allocations: 0.7752 MB / 0.992 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000217/0.2526, allocations: 42.27 kB / 0.992 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.2529, allocations: 103.4 kB / 0.9921 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/0.2529, allocations: 4 kB / 0.9921 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.2831, allocations: 6.223 MB / 0.9982 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003495/0.2836, allocations: 262.3 kB / 0.9985 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/3.093, allocations: 0 / 0.9985 GB, free: 7.574 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)