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.578/2.578, allocations: 253.2 MB / 260.6 MB, free: 7.469 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.00144/0.001439, allocations: 175 kB / 319.9 MB, free: 3.051 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.001169/0.001169, allocations: 94.62 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.075e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9071/1.118, allocations: 140.7 MB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/1.119, allocations: 83.94 kB / 1.026 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07543/1.194, allocations: 17.51 MB / 1.043 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.315e-06/1.194, allocations: 4 kB / 1.043 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.013e-05/1.194, allocations: 24 kB / 1.043 GB, free: 14.02 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.003756/1.198, allocations: 1.157 MB / 1.044 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/1.198, allocations: 15.95 kB / 1.044 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000649/1.199, allocations: 134.5 kB / 1.045 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/1.2, allocations: 0.5677 MB / 1.045 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/1.201, allocations: 47.86 kB / 1.045 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/1.201, allocations: 71 kB / 1.045 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001985/1.203, allocations: 0.617 MB / 1.046 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/1.205, allocations: 0.7112 MB / 1.047 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/1.205, allocations: 4 kB / 1.047 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/1.205, allocations: 14.84 kB / 1.047 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/1.205, allocations: 24 kB / 1.047 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007124/1.212, allocations: 2.31 MB / 1.049 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/1.215, allocations: 0.8984 MB / 1.05 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008163/1.216, allocations: 323.7 kB / 1.05 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.64e-05/1.216, allocations: 8.781 kB / 1.05 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/1.218, allocations: 0.6813 MB / 1.051 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=105): time 4.529e-06/1.218, allocations: 0 / 1.051 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of matching and sorting (n=105): time 0.002296/1.22, allocations: 0.7869 MB / 1.052 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/1.22, allocations: 68.22 kB / 1.052 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009986/1.221, allocations: 0.5083 MB / 1.052 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002273/1.221, allocations: 56.62 kB / 1.052 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/1.222, allocations: 429.1 kB / 1.053 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/1.222, allocations: 245.8 kB / 1.053 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/1.222, allocations: 0 / 1.053 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002383/1.223, allocations: 397 kB / 1.053 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000926/1.224, allocations: 325 kB / 1.053 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.225, allocations: 463.1 kB / 1.054 GB, free: 5.656 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/1.225, allocations: 263.6 kB / 1.054 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.226, allocations: 4 kB / 1.054 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002356/1.228, allocations: 0.8208 MB / 1.055 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.228, allocations: 9.562 kB / 1.055 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.228, allocations: 0 / 1.055 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/1.228, allocations: 8 kB / 1.055 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.229, allocations: 139.1 kB / 1.055 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.229, allocations: 4 kB / 1.055 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.23, allocations: 114 kB / 1.055 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/1.231, allocations: 34.88 kB / 1.055 GB, free: 4.594 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.0004593/1.231, allocations: 178.8 kB / 1.055 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/1.231, allocations: 79.06 kB / 1.056 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/1.234, allocations: 0.8495 MB / 1.056 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/1.234, allocations: 8 kB / 1.056 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.234, allocations: 0 / 1.056 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/1.234, allocations: 3.984 kB / 1.056 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/1.238, allocations: 1.728 MB / 1.058 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.238, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/1.239, allocations: 98.7 kB / 1.058 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/1.239, allocations: 4 kB / 1.058 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/1.239, allocations: 23.45 kB / 1.058 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/1.239, allocations: 8 kB / 1.058 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.239, allocations: 3.938 kB / 1.058 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/1.241, allocations: 0.9157 MB / 1.059 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/1.242, allocations: 155.8 kB / 1.059 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/1.242, allocations: 29.36 kB / 1.059 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000958/1.243, allocations: 63.94 kB / 1.059 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006591/1.244, allocations: 191.1 kB / 1.059 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.244, allocations: 49.47 kB / 1.06 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006501/1.244, allocations: 331 kB / 1.06 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/1.244, allocations: 0 / 1.06 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001267/1.246, allocations: 211.4 kB / 1.06 GB, free: 0.7461 MB / 0.6667 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.001566/1.247, allocations: 436.3 kB / 1.06 GB, free: 428 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00244/1.25, allocations: 0.8127 MB / 1.061 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.25, allocations: 0 / 1.061 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.251, allocations: 0.4918 MB / 1.062 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/1.252, allocations: 70.8 kB / 1.062 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/1.256, allocations: 1.185 MB / 1.063 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008531/1.256, allocations: 1.057 MB / 1.064 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009642/1.257, allocations: 122.3 kB / 1.064 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/1.258, allocations: 90.2 kB / 1.064 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/1.258, allocations: 0 / 1.064 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of Templates: time 0.03145/1.289, allocations: 8.974 MB / 1.073 GB, free: 4.344 MB / 0.6823 GB