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.4 MB / 303.3 MB, free: 8.066 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.001507/0.001507, allocations: 172.5 kB / 372 MB, free: 10.28 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.703/1.703, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0008349/0.0008349, allocations: 94.84 kB / 0.7441 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006296/0.0006297, allocations: 14.91 kB / 0.8671 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2301, allocations: 115.3 MB / 0.9797 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.002342/0.2325, allocations: 1.738 MB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2339, allocations: 1.031 MB / 0.9824 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.234, allocations: 7.938 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.2344, allocations: 83.69 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.2346, allocations: 67.67 kB / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.2349, allocations: 124.9 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.2352, allocations: 287.9 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.2354, allocations: 89.84 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.2355, allocations: 103.4 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2356, allocations: 107.5 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.2356, allocations: 15.94 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2358, allocations: 47.95 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.2358, allocations: 59.77 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.2359, allocations: 73.5 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.2362, allocations: 371.3 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2362, allocations: 0 / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2362, allocations: 0 / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.2362, allocations: 0 / 0.9838 GB, free: 23.32 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.0008001/0.237, allocations: 0.5796 MB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2371, allocations: 8.031 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.2371, allocations: 66.42 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.2372, allocations: 31.62 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.2376, allocations: 334.9 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2376, allocations: 24 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.2376, allocations: 16 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.2379, allocations: 177.6 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.238, allocations: 0 / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.238, allocations: 11.95 kB / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.238, allocations: 4 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.2382, allocations: 135.7 kB / 0.9851 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.2392, allocations: 0.6756 MB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.2396, allocations: 200.3 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.2397, allocations: 72.83 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.2397, allocations: 3.953 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.24, allocations: 131.2 kB / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.24, allocations: 0 / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004539/0.2404, allocations: 234.7 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.2405, allocations: 59.41 kB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.2408, allocations: 380.3 kB / 0.9868 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.2408, allocations: 33.7 kB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.2409, allocations: 172.4 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2409, allocations: 51.42 kB / 0.987 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.241, allocations: 4 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.241, allocations: 338.8 kB / 0.9874 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2412, allocations: 87.97 kB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2414, allocations: 144.2 kB / 0.9876 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.2415, allocations: 88.48 kB / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2415, allocations: 0 / 0.9877 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003739/0.2419, allocations: 277.2 kB / 0.9879 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2419, allocations: 7.938 kB / 0.988 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2419, allocations: 0 / 0.988 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.242, allocations: 12.06 kB / 0.988 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2421, allocations: 43.91 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2421, allocations: 0 / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2423, allocations: 39.83 kB / 0.988 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.2423, allocations: 4 kB / 0.988 GB, free: 18.7 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.0001489/0.2425, allocations: 176.2 kB / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.2425, allocations: 31.67 kB / 0.9882 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.2426, allocations: 34.3 kB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2426, allocations: 4 kB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2426, allocations: 0 / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2426, allocations: 0 / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.2429, allocations: 337.3 kB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2429, allocations: 0 / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.243, allocations: 16 kB / 0.9886 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.243, allocations: 8 kB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.243, allocations: 7.938 kB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.243, allocations: 0 / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.243, allocations: 0 / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.2433, allocations: 223.2 kB / 0.9888 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.2434, allocations: 100.8 kB / 0.9889 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.2435, allocations: 7.984 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.2436, allocations: 27.94 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.2437, allocations: 35.94 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2437, allocations: 4 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001826/0.2439, allocations: 243 kB / 0.9892 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2439, allocations: 0 / 0.9892 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002533/0.2441, allocations: 63.84 kB / 0.9893 GB, free: 17.31 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.00132/0.2455, allocations: 1.078 MB / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.2458, allocations: 191.9 kB / 0.9905 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2458, allocations: 0 / 0.9905 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.246, allocations: 86.62 kB / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.2463, allocations: 58.31 kB / 0.9907 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.2485, allocations: 1.759 MB / 0.9924 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2487, allocations: 0.7791 MB / 0.9932 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.2488, allocations: 46.25 kB / 0.9932 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.249, allocations: 107.4 kB / 0.9933 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.249, allocations: 0 / 0.9933 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.2655, allocations: 6.227 MB / 0.9994 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.2658, allocations: 275.8 kB / 0.9997 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.608, allocations: 0 / 0.9997 GB, free: 6.871 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)