Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007281/0.0007282, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008589/0.000859, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005087, allocations: 22.34 kB / 0.6738 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2249, allocations: 116.3 MB / 0.7873 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002331/0.2273, allocations: 1.753 MB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2288, allocations: 1.02 MB / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2289, allocations: 7.938 kB / 0.7901 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.2293, allocations: 79.7 kB / 0.7901 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.2295, allocations: 71.67 kB / 0.7902 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.2298, allocations: 135.7 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.2301, allocations: 279.9 kB / 0.7906 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.2302, allocations: 93.89 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.2304, allocations: 107.4 kB / 0.7908 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.2305, allocations: 107.4 kB / 0.7909 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.2306, allocations: 8 kB / 0.7909 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.2307, allocations: 39.98 kB / 0.7909 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.2308, allocations: 63.73 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.98e-05/0.2308, allocations: 77.52 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.2312, allocations: 367.2 kB / 0.7914 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2312, allocations: 4 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2312, allocations: 0 / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2312, allocations: 0 / 0.7914 GB, free: 7.68 MB / 0.6075 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.000838/0.2321, allocations: 0.5798 MB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.2321, allocations: 11.97 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.2322, allocations: 35.58 kB / 0.792 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.2326, allocations: 339 kB / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.2326, allocations: 12 kB / 0.7924 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.2327, allocations: 20 kB / 0.7924 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.233, allocations: 182 kB / 0.7926 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.233, allocations: 7.984 kB / 0.7926 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.233, allocations: 7.938 kB / 0.7926 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.2331, allocations: 11.95 kB / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.2333, allocations: 127.7 kB / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009318/0.2342, allocations: 0.6795 MB / 0.7934 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.2346, allocations: 194.8 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2348, allocations: 68.83 kB / 0.7936 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.2348, allocations: 0 / 0.7936 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.235, allocations: 142.3 kB / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.235, allocations: 0 / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0004416/0.2355, allocations: 237.2 kB / 0.794 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2355, allocations: 55.41 kB / 0.794 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.2359, allocations: 372.4 kB / 0.7944 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.2359, allocations: 37.7 kB / 0.7944 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2361, allocations: 176.3 kB / 0.7946 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.2361, allocations: 47.44 kB / 0.7946 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.2361, allocations: 4 kB / 0.7946 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2362, allocations: 342.8 kB / 0.795 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2364, allocations: 87.97 kB / 0.7951 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.2366, allocations: 144.2 kB / 0.7952 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2367, allocations: 87.98 kB / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2367, allocations: 0 / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004039/0.2372, allocations: 274.2 kB / 0.7955 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2372, allocations: 7.953 kB / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2372, allocations: 4 kB / 0.7956 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2372, allocations: 0 / 0.7956 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2374, allocations: 39.91 kB / 0.7956 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2374, allocations: 0 / 0.7956 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.2375, allocations: 43.86 kB / 0.7956 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.2376, allocations: 15.98 kB / 0.7956 GB, free: 3.117 MB / 0.6075 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.0001571/0.2377, allocations: 167.6 kB / 0.7958 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.2378, allocations: 27.66 kB / 0.7958 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.738e-05/0.2379, allocations: 50.25 kB / 0.7959 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2379, allocations: 0 / 0.7959 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2379, allocations: 0 / 0.7959 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2379, allocations: 0 / 0.7959 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.2382, allocations: 337.3 kB / 0.7962 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2382, allocations: 0 / 0.7962 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.027e-05/0.2383, allocations: 16 kB / 0.7962 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2383, allocations: 0 / 0.7962 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.2383, allocations: 7.984 kB / 0.7962 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.2383, allocations: 7.953 kB / 0.7962 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2383, allocations: 0 / 0.7962 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.2386, allocations: 223.3 kB / 0.7964 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.2387, allocations: 104.8 kB / 0.7965 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.2388, allocations: 11.98 kB / 0.7966 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.2389, allocations: 15.98 kB / 0.7966 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.239, allocations: 39.89 kB / 0.7966 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.239, allocations: 8 kB / 0.7966 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002166/0.2392, allocations: 239 kB / 0.7968 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2392, allocations: 0 / 0.7968 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002745/0.2395, allocations: 59.84 kB / 0.7969 GB, free: 1.734 MB / 0.6075 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.0009237/0.2404, allocations: 426.5 kB / 0.7973 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003654/0.2408, allocations: 203.1 kB / 0.7975 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2408, allocations: 3.938 kB / 0.7975 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.241, allocations: 79.91 kB / 0.7976 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2413, allocations: 54.94 kB / 0.7976 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007399/0.242, allocations: 0.5523 MB / 0.7982 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2423, allocations: 0.7755 MB / 0.7989 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.2425, allocations: 46.23 kB / 0.799 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.2425, allocations: 35.42 kB / 0.799 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.2425, allocations: 0 / 0.799 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.006224/0.2488, allocations: 3.249 MB / 0.8022 GB, free: 12.46 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) Environment - environmentSimulation: