Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.179/2.179, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001534/0.001534, allocations: 181.2 kB / 325.6 MB, free: 2.844 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.525/2.525, 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.001155/0.001154, allocations: 90.36 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004532, allocations: 10.59 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2164, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/0.4889, allocations: 142.6 MB / 1.038 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.4892, allocations: 79.95 kB / 1.038 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06983/0.5591, allocations: 12.49 MB / 1.05 GB, free: 6.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.885e-06/0.5591, allocations: 0 / 1.05 GB, free: 6.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.561e-05/0.5592, allocations: 16 kB / 1.05 GB, free: 6.047 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003198/0.5624, allocations: 1.071 MB / 1.051 GB, free: 4.918 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5625, allocations: 12.03 kB / 1.051 GB, free: 4.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.5628, allocations: 99.17 kB / 1.052 GB, free: 4.809 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.5641, allocations: 495.9 kB / 1.052 GB, free: 4.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.5642, allocations: 61.3 kB / 1.052 GB, free: 4.223 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.5644, allocations: 75.94 kB / 1.052 GB, free: 4.148 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.5667, allocations: 0.7287 MB / 1.053 GB, free: 3.379 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.5668, allocations: 4 kB / 1.053 GB, free: 3.375 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.5669, allocations: 20 kB / 1.053 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.5669, allocations: 16 kB / 1.053 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.5691, allocations: 0.5359 MB / 1.053 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009314/0.5785, allocations: 2.545 MB / 1.056 GB, free: 176 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5886/1.167, allocations: 0.6694 MB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.72e-05/1.167, allocations: 7.172 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/1.169, allocations: 418.3 kB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 4.228e-06/1.169, allocations: 0 / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.003365/1.172, allocations: 0.9021 MB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/1.172, allocations: 149.5 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008038/1.173, allocations: 459.5 kB / 1.058 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/1.173, allocations: 47.92 kB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/1.174, allocations: 334 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/1.174, allocations: 198.4 kB / 1.059 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/1.174, allocations: 16.19 kB / 1.059 GB, free: 145.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.174, allocations: 382.5 kB / 1.059 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009672/1.175, allocations: 265.9 kB / 1.06 GB, free: 145.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/1.176, allocations: 389.8 kB / 1.06 GB, free: 145.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/1.177, allocations: 314 kB / 1.06 GB, free: 145 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.177, allocations: 2.906 kB / 1.06 GB, free: 145 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002676/1.18, allocations: 0.8702 MB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002234/1.18, allocations: 0.6565 MB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.18, allocations: 3.547 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/1.18, allocations: 2.906 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000981/1.181, allocations: 130 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.181, allocations: 8.125 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.182, allocations: 124.1 kB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/1.182, allocations: 35.58 kB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.182, allocations: 2.812 kB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002226/1.185, allocations: 0.7629 MB / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/1.185, allocations: 0 / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.185, allocations: 6.391 kB / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/1.186, allocations: 107.9 kB / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/1.186, allocations: 14.39 kB / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.187, allocations: 115.7 kB / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-05/1.187, allocations: 25.53 kB / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.optSta.hysSta.y,optSta.hysSta.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,booToRea1.u,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * 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.0005724/1.187, allocations: 286.7 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/1.187, allocations: 69.47 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/1.188, allocations: 78.17 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.188, allocations: 8.281 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.188, allocations: 7.953 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.188, allocations: 6.531 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/1.191, allocations: 1.381 MB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/1.192, allocations: 5.062 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/1.192, allocations: 106.6 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/1.193, allocations: 6.859 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/1.193, allocations: 21.59 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/1.193, allocations: 4.922 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.193, allocations: 1.531 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/1.197, allocations: 1.145 MB / 1.066 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/1.197, allocations: 154.2 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/1.197, allocations: 20.58 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/1.198, allocations: 54.97 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/1.198, allocations: 57.03 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/1.198, allocations: 27.44 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007473/1.199, allocations: 357.4 kB / 1.067 GB, free: 143.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.199, allocations: 1.875 kB / 1.067 GB, free: 143.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00144/1.2, allocations: 285.9 kB / 1.067 GB, free: 143.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 15 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 10 (pul.count,occSch.tNonOcc,occSch.tOcc,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,optSta.hysSta.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003294/1.201, allocations: 147.7 kB / 1.067 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00428/1.205, allocations: 1.309 MB / 1.068 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/1.205, allocations: 5.438 kB / 1.068 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/1.207, allocations: 327.5 kB / 1.069 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.208, allocations: 125.7 kB / 1.069 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/1.212, allocations: 1.424 MB / 1.07 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/1.212, allocations: 0.9297 MB / 1.071 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007426/1.213, allocations: 89.84 kB / 1.071 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/1.213, allocations: 47.98 kB / 1.071 GB, free: 141.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/1.213, allocations: 0 / 1.071 GB, free: 141.3 MB / 0.698 GB Notification: Performance of Templates: time 0.02658/1.24, allocations: 7.662 MB / 1.079 GB, free: 140.9 MB / 0.698 GB