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.354/2.354, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 178 kB / 325.6 MB, free: 2.855 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.72/2.72, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001129/0.001129, allocations: 104 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004626, allocations: 11.81 kB / 0.7952 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2221, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.4659, allocations: 140.6 MB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004144/0.4664, allocations: 95.88 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1024/0.5688, allocations: 17.67 MB / 1.054 GB, free: 2.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.825e-06/0.5689, allocations: 0 / 1.054 GB, free: 2.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.865e-05/0.5689, allocations: 20 kB / 1.054 GB, free: 2.887 MB / 0.698 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.004178/0.5731, allocations: 1.259 MB / 1.055 GB, free: 1.555 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.041e-05/0.5732, allocations: 8.219 kB / 1.055 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005721/0.5738, allocations: 130.5 kB / 1.055 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.5755, allocations: 0.5744 MB / 1.056 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.5757, allocations: 97.98 kB / 1.056 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.576, allocations: 112 kB / 1.056 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5838/1.16, allocations: 0.8843 MB / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/1.16, allocations: 0 / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/1.16, allocations: 54.77 kB / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/1.16, allocations: 23.69 kB / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/1.163, allocations: 0.7285 MB / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007745/1.171, allocations: 2.507 MB / 1.06 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/1.175, allocations: 1.013 MB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/1.175, allocations: 8.828 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002273/1.177, allocations: 0.7472 MB / 1.062 GB, free: 142.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 5.12e-06/1.177, allocations: 0 / 1.062 GB, free: 142.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.004318/1.181, allocations: 1.247 MB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/1.181, allocations: 65.16 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/1.183, allocations: 0.6224 MB / 1.063 GB, free: 142 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003404/1.183, allocations: 76.28 kB / 1.063 GB, free: 142 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/1.184, allocations: 427.7 kB / 1.064 GB, free: 141.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/1.184, allocations: 256.8 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/1.184, allocations: 27.72 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.184, allocations: 403.6 kB / 1.065 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/1.186, allocations: 375.2 kB / 1.065 GB, free: 141.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/1.187, allocations: 0.5122 MB / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.189, allocations: 319.1 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.189, allocations: 4.672 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003505/1.192, allocations: 0.9768 MB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/1.192, allocations: 6.125 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.192, allocations: 2.094 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.871e-05/1.192, allocations: 7.344 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/1.194, allocations: 131.9 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/1.194, allocations: 7.125 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.195, allocations: 142.4 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/1.195, allocations: 37.55 kB / 1.067 GB, free: 141.1 MB / 0.698 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 () * Number of clocked 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.000869/1.196, allocations: 306.5 kB / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/1.196, allocations: 97.83 kB / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/1.2, allocations: 0.9944 MB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/1.2, allocations: 10.75 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.2, allocations: 0 / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/1.2, allocations: 6.25 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005776/1.206, allocations: 1.974 MB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.206, allocations: 0.8125 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009495/1.207, allocations: 99.59 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/1.207, allocations: 3.094 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/1.207, allocations: 33.41 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/1.207, allocations: 10.98 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.207, allocations: 0.5 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003219/1.21, allocations: 1.041 MB / 1.071 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/1.21, allocations: 165.8 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/1.211, allocations: 41.5 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009947/1.212, allocations: 85.16 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006925/1.213, allocations: 189.5 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.213, allocations: 49.91 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009644/1.214, allocations: 435.9 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.214, allocations: 1.312 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001398/1.215, allocations: 237.6 kB / 1.073 GB, free: 140.1 MB / 0.698 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) * Number of clocked states: 0 () * 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.001439/1.217, allocations: 0.5067 MB / 1.073 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003494/1.22, allocations: 0.9248 MB / 1.074 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.22, allocations: 0 / 1.074 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/1.222, allocations: 0.5408 MB / 1.075 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/1.223, allocations: 96.55 kB / 1.075 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/1.228, allocations: 1.9 MB / 1.076 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/1.228, allocations: 1.059 MB / 1.078 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001062/1.229, allocations: 124.7 kB / 1.078 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/1.23, allocations: 96.05 kB / 1.078 GB, free: 138.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/1.23, allocations: 1.438 kB / 1.078 GB, free: 138.2 MB / 0.698 GB Notification: Performance of Templates: time 0.03185/1.262, allocations: 9.826 MB / 1.087 GB, free: 137.6 MB / 0.698 GB