Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.56/2.56, allocations: 252.6 MB / 265.2 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002187/0.002186, allocations: 175.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 0.5754 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 94.58 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/4.012e-05, allocations: 7.984 kB / 0.7912 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.227, allocations: 106.2 MB / 0.8949 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9743/1.201, allocations: 140.5 MB / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/1.202, allocations: 83.31 kB / 1.032 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07791/1.28, allocations: 17.65 MB / 1.049 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.204e-06/1.28, allocations: 0 / 1.049 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.463e-05/1.28, allocations: 24 kB / 1.049 GB, free: 11.11 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.004008/1.284, allocations: 1.16 MB / 1.051 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.284, allocations: 8.031 kB / 1.051 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/1.284, allocations: 138.5 kB / 1.051 GB, free: 9.816 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/1.286, allocations: 0.5679 MB / 1.051 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/1.286, allocations: 87.94 kB / 1.051 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003696/1.287, allocations: 119.8 kB / 1.051 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/1.29, allocations: 0.8488 MB / 1.052 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/1.29, allocations: 0 / 1.052 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/1.29, allocations: 56.58 kB / 1.052 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/1.29, allocations: 24 kB / 1.052 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/1.292, allocations: 0.6736 MB / 1.053 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008094/1.3, allocations: 2.502 MB / 1.055 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/1.304, allocations: 0.9693 MB / 1.056 GB, free: 5.602 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009461/1.305, allocations: 345.9 kB / 1.057 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.542e-05/1.305, allocations: 8.781 kB / 1.057 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/1.307, allocations: 0.7238 MB / 1.057 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=105): time 4.959e-06/1.307, allocations: 0 / 1.057 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of matching and sorting (n=105): time 0.002652/1.309, allocations: 0.8541 MB / 1.058 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/1.309, allocations: 64.34 kB / 1.058 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/1.311, allocations: 0.6288 MB / 1.059 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003483/1.311, allocations: 78.94 kB / 1.059 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/1.312, allocations: 424.1 kB / 1.059 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/1.312, allocations: 261.1 kB / 1.06 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/1.312, allocations: 23.44 kB / 1.06 GB, free: 3.102 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000245/1.313, allocations: 405.9 kB / 1.06 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/1.314, allocations: 343 kB / 1.06 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/1.315, allocations: 497 kB / 1.061 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/1.316, allocations: 293.8 kB / 1.061 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/1.316, allocations: 0 / 1.061 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002657/1.319, allocations: 0.9223 MB / 1.062 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/1.319, allocations: 4 kB / 1.062 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.319, allocations: 11.94 kB / 1.062 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/1.319, allocations: 4 kB / 1.062 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.32, allocations: 133.7 kB / 1.062 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.877e-05/1.32, allocations: 11.98 kB / 1.062 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/1.321, allocations: 129 kB / 1.062 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/1.321, allocations: 38.5 kB / 1.062 GB, free: 1.012 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 100 ($PRE.opeModSel.lat.y,$PRE.opeModSel.lat1.y,$PRE.opeModSel.lat2.y,$PRE.opeModSel.lat3.y,$PRE.opeModSel.lat4.y,$whenCondition1,$PRE.occTim.tab.nextTimeEvent,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,occTim.tab.nextTimeEvent,$PRE.occTim.tab.nextTimeEventScaled,occTim.tab.nextTimeEventScaled,lesEqu.y,lesEqu1.y,occ.y,opeModSel.yOpeMod,opeModSel.intGreThr.y,opeModSel.intGreThr1.y,$PRE.opeModSel.falEdg.not_u,opeModSel.falEdg.not_u,$PRE.opeModSel.lat.u,opeModSel.lat.u,$PRE.opeModSel.lat.clr,opeModSel.lat.clr,opeModSel.lat.y,$PRE.opeModSel.lat1.u,opeModSel.lat1.u,$PRE.opeModSel.lat1.clr,opeModSel.lat1.clr,opeModSel.lat1.y,$PRE.opeModSel.lat2.u,opeModSel.lat2.u,$PRE.opeModSel.lat2.clr,opeModSel.lat2.clr,opeModSel.lat2.y,$PRE.opeModSel.falEdg1.not_u,opeModSel.falEdg1.not_u,$PRE.opeModSel.hys2.y,opeModSel.hys2.y,$PRE.opeModSel.hys3.y,opeModSel.hys3.y,$PRE.opeModSel.hys4.y,opeModSel.hys4.y,$PRE.opeModSel.hys5.y,opeModSel.hys5.y,$PRE.opeModSel.hys9.y,opeModSel.hys9.y,$PRE.opeModSel.hys10.y,opeModSel.hys10.y,$PRE.opeModSel.lat3.u,opeModSel.lat3.u,$PRE.opeModSel.lat3.clr,opeModSel.lat3.clr,opeModSel.lat3.y,$PRE.opeModSel.lat4.u,opeModSel.lat4.u,$PRE.opeModSel.lat4.clr,opeModSel.lat4.clr,opeModSel.lat4.y,opeModSel.intGreThr2.y,opeModSel.intGreThr3.y,opeModSel.addInt.u1,opeModSel.addInt.u2,opeModSel.addInt.y,opeModSel.addInt1.u1,opeModSel.addInt1.y,opeModSel.addInt2.u1,opeModSel.addInt2.u2,opeModSel.addInt2.y,opeModSel.addInt3.u2,opeModSel.addInt3.y,opeModSel.addInt4.u2,opeModSel.addInt4.y,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,opeModSel.and3.u2,opeModSel.not1.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * 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.000478/1.322, allocations: 215.8 kB / 1.063 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/1.322, allocations: 90.88 kB / 1.063 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/1.325, allocations: 0.9446 MB / 1.064 GB, free: 104 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/1.325, allocations: 15.95 kB / 1.064 GB, free: 88 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.325, allocations: 0 / 1.064 GB, free: 88 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/1.325, allocations: 3.984 kB / 1.064 GB, free: 84 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004596/1.33, allocations: 1.921 MB / 1.066 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.33, allocations: 4 kB / 1.066 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009414/1.331, allocations: 99 kB / 1.066 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/1.331, allocations: 7.953 kB / 1.066 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.331, allocations: 30.34 kB / 1.066 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/1.331, allocations: 8 kB / 1.066 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.331, allocations: 3.984 kB / 1.066 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/1.334, allocations: 0.9838 MB / 1.067 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/1.334, allocations: 163.8 kB / 1.067 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/1.334, allocations: 46.27 kB / 1.067 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009931/1.335, allocations: 86.05 kB / 1.067 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000628/1.336, allocations: 187.5 kB / 1.067 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.336, allocations: 50.83 kB / 1.067 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008337/1.337, allocations: 429.7 kB / 1.068 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/1.337, allocations: 0 / 1.068 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001232/1.338, allocations: 236.9 kB / 1.068 GB, free: 12.81 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,occTim.tab.nextTimeEvent,occTim.tab.nextTimeEventScaled,lesEqu.y,lesEqu1.y,occ.y,opeModSel.yOpeMod,opeModSel.intGreThr.y,opeModSel.intGreThr1.y,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.clr,opeModSel.lat.y,opeModSel.lat1.u,opeModSel.lat1.clr,opeModSel.lat1.y,opeModSel.lat2.u,opeModSel.lat2.clr,opeModSel.lat2.y,opeModSel.falEdg1.not_u,opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys4.y,opeModSel.hys5.y,opeModSel.hys9.y,opeModSel.hys10.y,opeModSel.lat3.u,opeModSel.lat3.clr,opeModSel.lat3.y,opeModSel.lat4.u,opeModSel.lat4.clr,opeModSel.lat4.y,opeModSel.intGreThr2.y,opeModSel.intGreThr3.y,opeModSel.addInt.u1,opeModSel.addInt.u2,opeModSel.addInt.y,opeModSel.addInt1.u1,opeModSel.addInt1.y,opeModSel.addInt2.u1,opeModSel.addInt2.u2,opeModSel.addInt2.y,opeModSel.addInt3.u2,opeModSel.addInt3.y,opeModSel.addInt4.u2,opeModSel.addInt4.y,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,opeModSel.and3.u2,opeModSel.not1.y,booToInt.y,booToInt1.y) * Number of discrete states: 25 (occTim.tab.nextTimeEvent,opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys4.y,opeModSel.hys5.y,opeModSel.hys9.y,opeModSel.hys10.y,opeModSel.lat1.u,opeModSel.lat1.clr,opeModSel.lat3.u,opeModSel.lat3.clr,opeModSel.lat4.u,opeModSel.lat4.clr,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.clr,opeModSel.falEdg1.not_u,opeModSel.lat2.u,opeModSel.lat2.clr,opeModSel.lat4.y,opeModSel.lat3.y,opeModSel.lat2.y,opeModSel.lat1.y,opeModSel.lat.y,occTim.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001443/1.34, allocations: 476.8 kB / 1.068 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002748/1.342, allocations: 0.8698 MB / 1.069 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.342, allocations: 0 / 1.069 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/1.344, allocations: 0.5162 MB / 1.07 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/1.345, allocations: 81.45 kB / 1.07 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/1.349, allocations: 1.251 MB / 1.071 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008885/1.35, allocations: 1.053 MB / 1.072 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001016/1.351, allocations: 130.9 kB / 1.072 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009567/1.352, allocations: 94.25 kB / 1.072 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of SimCode: time 2.605e-06/1.352, allocations: 0 / 1.072 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of Templates: time 0.03428/1.386, allocations: 9.841 MB / 1.082 GB, free: 15.43 MB / 0.698 GB