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.0008321/0.0008321, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008598/0.0008598, allocations: 177.3 kB / 15.95 MB, free: 216 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.304/1.304, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.626/1.626, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005071/0.0005071, allocations: 24.62 kB / 0.6736 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2026, allocations: 116.3 MB / 0.7872 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.002286/0.2049, allocations: 1.757 MB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2064, allocations: 1.008 MB / 0.7899 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.2066, allocations: 8 kB / 0.7899 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2068, allocations: 71.7 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.2071, allocations: 79.7 kB / 0.79 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.2074, allocations: 130.6 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.2076, allocations: 184.2 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.2078, allocations: 93.89 kB / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2079, allocations: 103.5 kB / 0.7905 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.208, allocations: 99.53 kB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.2081, allocations: 8 kB / 0.7906 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.479e-05/0.2082, allocations: 43.89 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.2083, allocations: 55.83 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.2083, allocations: 73.52 kB / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.2087, allocations: 379.2 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.2087, allocations: 0 / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2087, allocations: 0 / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2087, allocations: 0 / 0.7911 GB, free: 7.805 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.0008467/0.2095, allocations: 0.5837 MB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2096, allocations: 8.031 kB / 0.7917 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.2097, allocations: 35.58 kB / 0.7917 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.2101, allocations: 338.9 kB / 0.7921 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.2102, allocations: 20 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.2102, allocations: 16 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.2105, allocations: 178.1 kB / 0.7923 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2105, allocations: 4 kB / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.2106, allocations: 11.98 kB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.2106, allocations: 7.953 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.2108, allocations: 135.7 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009736/0.2118, allocations: 0.6795 MB / 0.7931 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.2122, allocations: 194.9 kB / 0.7933 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.2122, allocations: 0 / 0.7933 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.2125, allocations: 135.2 kB / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.2125, allocations: 0 / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0004643/0.213, allocations: 248.1 kB / 0.7936 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.213, allocations: 55.41 kB / 0.7937 GB, free: 5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.2134, allocations: 372.4 kB / 0.794 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.2134, allocations: 33.7 kB / 0.7941 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2135, allocations: 176.3 kB / 0.7942 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.2136, allocations: 47.44 kB / 0.7943 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.2136, allocations: 11.94 kB / 0.7943 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2137, allocations: 338.8 kB / 0.7946 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.2139, allocations: 95.89 kB / 0.7947 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.2141, allocations: 132.2 kB / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.2142, allocations: 79.98 kB / 0.7949 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2142, allocations: 4 kB / 0.7949 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000407/0.2146, allocations: 278.1 kB / 0.7952 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2147, allocations: 15.94 kB / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2147, allocations: 0 / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2147, allocations: 0 / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.2148, allocations: 39.92 kB / 0.7952 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2149, allocations: 4 kB / 0.7952 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.215, allocations: 43.84 kB / 0.7953 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.2151, allocations: 8 kB / 0.7953 GB, free: 3.309 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.0001588/0.2152, allocations: 171.5 kB / 0.7955 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.2153, allocations: 27.75 kB / 0.7955 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.286e-05/0.2153, allocations: 38.31 kB / 0.7955 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2154, allocations: 4 kB / 0.7955 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2154, allocations: 4 kB / 0.7955 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2154, allocations: 0 / 0.7955 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.2157, allocations: 337.3 kB / 0.7959 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2157, allocations: 0 / 0.7959 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/0.2157, allocations: 15.98 kB / 0.7959 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2158, allocations: 0 / 0.7959 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2158, allocations: 8 kB / 0.7959 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2158, allocations: 3.953 kB / 0.7959 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2158, allocations: 0 / 0.7959 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.2161, allocations: 219.8 kB / 0.7961 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.2162, allocations: 108.7 kB / 0.7962 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.2162, allocations: 8 kB / 0.7962 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2164, allocations: 19.98 kB / 0.7962 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.2165, allocations: 39.89 kB / 0.7963 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2165, allocations: 8 kB / 0.7963 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002127/0.2167, allocations: 243 kB / 0.7965 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2167, allocations: 0 / 0.7965 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002658/0.217, allocations: 63.84 kB / 0.7966 GB, free: 1.922 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.0008538/0.2178, allocations: 422.8 kB / 0.797 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003546/0.2182, allocations: 199.7 kB / 0.7972 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2182, allocations: 4.062 kB / 0.7972 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.2184, allocations: 83.91 kB / 0.7972 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.2186, allocations: 44.56 kB / 0.7973 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.2194, allocations: 0.5511 MB / 0.7978 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2197, allocations: 0.7872 MB / 0.7986 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00011/0.2198, allocations: 46.25 kB / 0.7986 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.2199, allocations: 23.44 kB / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2199, allocations: 0 / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.006179/0.2261, allocations: 3.266 MB / 0.8018 GB, free: 12.64 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: