Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.347/1.347, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001002, allocations: 186.4 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007888/0.0007889, allocations: 97.05 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003632, allocations: 12.97 kB / 0.7977 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 106.3 MB / 0.9015 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.001894/0.2232, allocations: 1.499 MB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006583/0.2239, allocations: 291.9 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.2241, allocations: 4 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.758e-05/0.2242, allocations: 15.8 kB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.2243, allocations: 23.84 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.2246, allocations: 71.94 kB / 0.9034 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.2249, allocations: 244 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.2251, allocations: 91.38 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.2252, allocations: 91.55 kB / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.2254, allocations: 91.47 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.2254, allocations: 8 kB / 0.9039 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.814e-05/0.2255, allocations: 8 kB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.2255, allocations: 39.83 kB / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.016e-05/0.2256, allocations: 117.1 kB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.2258, allocations: 259.5 kB / 0.9043 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2259, allocations: 4 kB / 0.9043 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2259, allocations: 0 / 0.9043 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.2259, allocations: 0 / 0.9043 GB, free: 60.57 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00103/0.2269, allocations: 0.5242 MB / 0.9048 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.227, allocations: 16.02 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.989e-05/0.2271, allocations: 24.66 kB / 0.9048 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.2274, allocations: 255.8 kB / 0.9051 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.2274, allocations: 20.38 kB / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.2275, allocations: 16.38 kB / 0.9051 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.2279, allocations: 222 kB / 0.9053 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.228, allocations: 192 / 0.9053 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.228, allocations: 15.94 kB / 0.9053 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.228, allocations: 4 kB / 0.9053 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.2285, allocations: 203.8 kB / 0.9055 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.2296, allocations: 0.6366 MB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.2302, allocations: 238.3 kB / 0.9064 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.2305, allocations: 104.8 kB / 0.9065 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.2305, allocations: 4 kB / 0.9065 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/0.2309, allocations: 183.2 kB / 0.9067 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.695e-06/0.2309, allocations: 4 kB / 0.9067 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0008387/0.2318, allocations: 339.9 kB / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2318, allocations: 63.39 kB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.232, allocations: 206.2 kB / 0.9072 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.232, allocations: 33.7 kB / 0.9073 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.2321, allocations: 148.3 kB / 0.9074 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.2321, allocations: 43.45 kB / 0.9075 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/0.2322, allocations: 8 kB / 0.9075 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.2322, allocations: 330.8 kB / 0.9078 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.2325, allocations: 107.9 kB / 0.9079 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.2328, allocations: 155.4 kB / 0.908 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.2332, allocations: 181.7 kB / 0.9082 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2333, allocations: 3.938 kB / 0.9082 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005685/0.2338, allocations: 289.3 kB / 0.9085 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2339, allocations: 8 kB / 0.9085 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2339, allocations: 0 / 0.9085 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2339, allocations: 0 / 0.9085 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.2341, allocations: 47.89 kB / 0.9085 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2341, allocations: 4 kB / 0.9085 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.2344, allocations: 63.8 kB / 0.9086 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.2344, allocations: 8 kB / 0.9086 GB, free: 55.88 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,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,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.2346, allocations: 147.5 kB / 0.9087 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.2346, allocations: 19.8 kB / 0.9088 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.2346, allocations: 29.88 kB / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2347, allocations: 0 / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2347, allocations: 4 kB / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2347, allocations: 4 kB / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.2349, allocations: 301.3 kB / 0.9091 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2349, allocations: 0 / 0.9091 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.235, allocations: 31.97 kB / 0.9091 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2351, allocations: 0 / 0.9091 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.2351, allocations: 12 kB / 0.9091 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2351, allocations: 0 / 0.9091 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2351, allocations: 0 / 0.9091 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.2356, allocations: 280.6 kB / 0.9094 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.2357, allocations: 96.81 kB / 0.9095 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.2357, allocations: 8 kB / 0.9095 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.2359, allocations: 43.97 kB / 0.9095 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.2361, allocations: 47.92 kB / 0.9096 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2361, allocations: 4 kB / 0.9096 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.867e-05/0.2362, allocations: 144.2 kB / 0.9097 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2362, allocations: 3.938 kB / 0.9097 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002239/0.2364, allocations: 47.84 kB / 0.9098 GB, free: 54.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$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,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.2365, allocations: 119.2 kB / 0.9099 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005897/0.2371, allocations: 243.8 kB / 0.9101 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2372, allocations: 0 / 0.9101 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.2374, allocations: 133.6 kB / 0.9103 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.2377, allocations: 29.95 kB / 0.9103 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.2385, allocations: 466.7 kB / 0.9107 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.2386, allocations: 0.7401 MB / 0.9114 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.2387, allocations: 23.42 kB / 0.9115 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2388, allocations: 0 / 0.9115 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of Templates: time 0.004391/0.2431, allocations: 2.794 MB / 0.9142 GB, free: 50.02 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)