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.467/2.467, allocations: 253.1 MB / 260.6 MB, free: 7.52 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.001523/0.001522, allocations: 188.8 kB / 319.9 MB, free: 3.102 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.303/2.303, 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.00116/0.00116, allocations: 93.2 kB / 0.6751 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.969e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2108, allocations: 106.3 MB / 0.8887 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9063/1.117, allocations: 142.8 MB / 1.028 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.117, allocations: 70.66 kB / 1.028 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05416/1.172, allocations: 12.37 MB / 1.04 GB, free: 428 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.963e-06/1.172, allocations: 0 / 1.04 GB, free: 428 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.92e-05/1.172, allocations: 19.98 kB / 1.04 GB, free: 408 kB / 0.6511 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.002998/1.175, allocations: 0.9731 MB / 1.041 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.175, allocations: 15.95 kB / 1.041 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/1.175, allocations: 99.27 kB / 1.041 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/1.177, allocations: 495.8 kB / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/1.177, allocations: 27.98 kB / 1.042 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/1.177, allocations: 48 kB / 1.042 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/1.178, allocations: 379.1 kB / 1.042 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.18, allocations: 0.5795 MB / 1.043 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.18, allocations: 0 / 1.043 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/1.18, allocations: 4 kB / 1.043 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/1.18, allocations: 12 kB / 1.043 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005513/1.185, allocations: 2.418 MB / 1.045 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.187, allocations: 0.5141 MB / 1.046 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/1.187, allocations: 232.5 kB / 1.046 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.958e-05/1.188, allocations: 4.562 kB / 1.046 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008138/1.188, allocations: 345.4 kB / 1.046 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.496e-06/1.188, allocations: 0 / 1.046 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.00158/1.19, allocations: 0.5162 MB / 1.047 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.19, allocations: 140.8 kB / 1.047 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/1.191, allocations: 386.5 kB / 1.047 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/1.191, allocations: 37.52 kB / 1.047 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/1.191, allocations: 338.6 kB / 1.048 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.192, allocations: 189 kB / 1.048 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/1.192, allocations: 4 kB / 1.048 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.192, allocations: 381.8 kB / 1.048 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/1.193, allocations: 196.6 kB / 1.048 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/1.193, allocations: 305.5 kB / 1.049 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000709/1.194, allocations: 215 kB / 1.049 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/1.194, allocations: 0 / 1.049 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001941/1.196, allocations: 0.6677 MB / 1.049 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003879/1.196, allocations: 0.6569 MB / 1.05 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.196, allocations: 0 / 1.05 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/1.196, allocations: 4 kB / 1.05 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.198, allocations: 131.5 kB / 1.05 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.198, allocations: 7.938 kB / 1.05 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.199, allocations: 111.5 kB / 1.05 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/1.199, allocations: 30.61 kB / 1.05 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.199, allocations: 0.625 kB / 1.05 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001755/1.201, allocations: 0.5974 MB / 1.051 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.201, allocations: 7.984 kB / 1.051 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.201, allocations: 8.188 kB / 1.051 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008676/1.201, allocations: 107.4 kB / 1.051 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.201, allocations: 4 kB / 1.051 GB, free: 7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009558/1.202, allocations: 103 kB / 1.051 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/1.203, allocations: 23.81 kB / 1.051 GB, free: 6.883 MB / 0.6667 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 () * 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.0003008/1.203, allocations: 136.3 kB / 1.051 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/1.203, allocations: 67.25 kB / 1.051 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/1.203, allocations: 64.38 kB / 1.051 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/1.203, allocations: 12 kB / 1.051 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.203, allocations: 3.938 kB / 1.051 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.203, allocations: 3.984 kB / 1.052 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/1.206, allocations: 1.147 MB / 1.053 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.206, allocations: 4 kB / 1.053 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/1.207, allocations: 107.1 kB / 1.053 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/1.207, allocations: 4 kB / 1.053 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/1.207, allocations: 15.47 kB / 1.053 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.207, allocations: 4 kB / 1.053 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.207, allocations: 3.953 kB / 1.053 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/1.209, allocations: 0.913 MB / 1.054 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/1.209, allocations: 139.7 kB / 1.054 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/1.209, allocations: 14.81 kB / 1.054 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/1.21, allocations: 51.94 kB / 1.054 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.21, allocations: 55.3 kB / 1.054 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.507e-05/1.21, allocations: 31.66 kB / 1.054 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000498/1.211, allocations: 285.5 kB / 1.054 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.91e-07/1.211, allocations: 0 / 1.054 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001165/1.212, allocations: 251.1 kB / 1.054 GB, free: 4.117 MB / 0.6667 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) * 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.0003045/1.212, allocations: 151.3 kB / 1.055 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002456/1.215, allocations: 1.116 MB / 1.056 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.215, allocations: 0 / 1.056 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/1.216, allocations: 257 kB / 1.056 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.217, allocations: 115.7 kB / 1.056 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/1.219, allocations: 0.8387 MB / 1.057 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/1.22, allocations: 0.9311 MB / 1.058 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009145/1.221, allocations: 123 kB / 1.058 GB, free: 1.133 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/1.221, allocations: 47.23 kB / 1.058 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/1.221, allocations: 0 / 1.058 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of Templates: time 0.02561/1.247, allocations: 7.927 MB / 1.066 GB, free: 9.258 MB / 0.6823 GB