Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_OperationMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.268/2.268, allocations: 248.7 MB / 256.2 MB, free: 7.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001503, allocations: 184 kB / 315.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.383/2.383, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.001049, allocations: 99.86 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.457e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.242, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.253, allocations: 140.8 MB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.253, allocations: 84.45 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1141/1.367, allocations: 17.51 MB / 1.039 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.535e-06/1.367, allocations: 192 / 1.039 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.788e-05/1.367, allocations: 27.94 kB / 1.039 GB, free: 15.4 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.003481/1.371, allocations: 1.164 MB / 1.04 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.371, allocations: 12.03 kB / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004846/1.371, allocations: 130.5 kB / 1.04 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/1.373, allocations: 0.5731 MB / 1.041 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.599e-05/1.373, allocations: 54.42 kB / 1.041 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/1.373, allocations: 71.98 kB / 1.041 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00195/1.375, allocations: 0.617 MB / 1.041 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/1.377, allocations: 0.7088 MB / 1.042 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/1.377, allocations: 0 / 1.042 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.377, allocations: 15.28 kB / 1.042 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/1.378, allocations: 20 kB / 1.042 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006731/1.384, allocations: 2.313 MB / 1.044 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/1.387, allocations: 0.8979 MB / 1.045 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/1.388, allocations: 317.5 kB / 1.046 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.572e-05/1.388, allocations: 8.781 kB / 1.046 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/1.39, allocations: 0.6796 MB / 1.046 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=105): time 3.527e-06/1.39, allocations: 4 kB / 1.046 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of matching and sorting (n=105): time 0.002301/1.392, allocations: 0.7886 MB / 1.047 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/1.392, allocations: 68.7 kB / 1.047 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.393, allocations: 0.5 MB / 1.048 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/1.393, allocations: 63.62 kB / 1.048 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/1.394, allocations: 429 kB / 1.048 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/1.394, allocations: 248.6 kB / 1.048 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/1.394, allocations: 0 / 1.048 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002563/1.395, allocations: 393.5 kB / 1.049 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009671/1.396, allocations: 328.3 kB / 1.049 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/1.397, allocations: 471 kB / 1.049 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/1.398, allocations: 265.4 kB / 1.05 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.398, allocations: 0 / 1.05 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002354/1.4, allocations: 0.8255 MB / 1.05 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/1.4, allocations: 11.98 kB / 1.05 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.4, allocations: 0 / 1.05 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/1.4, allocations: 8 kB / 1.05 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.401, allocations: 137.5 kB / 1.051 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.588e-05/1.401, allocations: 11.98 kB / 1.051 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.402, allocations: 103.8 kB / 1.051 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.403, allocations: 37.81 kB / 1.051 GB, free: 5.961 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.0004227/1.403, allocations: 170.8 kB / 1.051 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002152/1.405, allocations: 0.7849 MB / 1.052 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/1.406, allocations: 82.97 kB / 1.052 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/1.408, allocations: 0.8491 MB / 1.053 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.408, allocations: 11.95 kB / 1.053 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.408, allocations: 4 kB / 1.053 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/1.408, allocations: 7.922 kB / 1.053 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/1.412, allocations: 1.709 MB / 1.054 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/1.412, allocations: 4 kB / 1.054 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/1.413, allocations: 102.1 kB / 1.054 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/1.413, allocations: 4 kB / 1.054 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/1.414, allocations: 19.52 kB / 1.054 GB, free: 3.137 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/1.414, allocations: 7.953 kB / 1.054 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.414, allocations: 0 / 1.054 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/1.416, allocations: 0.9091 MB / 1.055 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/1.416, allocations: 162.4 kB / 1.055 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.416, allocations: 29.61 kB / 1.055 GB, free: 2.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009239/1.417, allocations: 59.94 kB / 1.056 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006247/1.418, allocations: 200 kB / 1.056 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.418, allocations: 48.28 kB / 1.056 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006279/1.419, allocations: 329.5 kB / 1.056 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.31e-07/1.419, allocations: 0 / 1.056 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001157/1.42, allocations: 203.4 kB / 1.056 GB, free: 1.551 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.003824/1.424, allocations: 1.799 MB / 1.058 GB, free: 64 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002573/1.426, allocations: 0.8121 MB / 1.059 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.427, allocations: 4 kB / 1.059 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/1.428, allocations: 496 kB / 1.059 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/1.429, allocations: 68.53 kB / 1.059 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/1.434, allocations: 1.334 MB / 1.061 GB, free: 14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009618/1.435, allocations: 1.057 MB / 1.062 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009435/1.436, allocations: 110.4 kB / 1.062 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009688/1.437, allocations: 403.6 kB / 1.062 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.437, allocations: 0 / 1.062 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09353/1.53, allocations: 16.21 MB / 1.078 GB, free: 12.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/1.531, allocations: 213.3 kB / 1.078 GB, free: 12.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/4.835, allocations: 6.672 kB / 1.078 GB, free: 12.29 MB / 0.698 GB