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.503/2.503, 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.002217/0.002217, allocations: 179.2 kB / 325.6 MB, free: 2.805 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.439/2.439, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001176/0.001176, allocations: 97.77 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007358/0.0007362, allocations: 17.2 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2314, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.007625/0.2391, allocations: 5.341 MB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007678/0.2469, allocations: 2.687 MB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.2491, allocations: 39.81 kB / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.2499, allocations: 154.3 kB / 0.9069 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.2515, allocations: 253.5 kB / 0.9072 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.2544, allocations: 0.6786 MB / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.2557, allocations: 0.5762 MB / 0.9084 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.2565, allocations: 483.3 kB / 0.9088 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.2569, allocations: 258.8 kB / 0.9091 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.2573, allocations: 282.5 kB / 0.9094 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.471e-05/0.2574, allocations: 24 kB / 0.9094 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.2576, allocations: 36 kB / 0.9094 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.2577, allocations: 115.4 kB / 0.9095 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2579, allocations: 145.2 kB / 0.9097 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.2587, allocations: 0.7055 MB / 0.9103 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2587, allocations: 0 / 0.9103 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2587, allocations: 0 / 0.9103 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.2588, allocations: 4 kB / 0.9104 GB, free: 53.64 MB / 0.6042 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.002747/0.2615, allocations: 1.05 MB / 0.9114 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2616, allocations: 12.03 kB / 0.9114 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.2618, allocations: 102.8 kB / 0.9115 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/0.2627, allocations: 495.9 kB / 0.912 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/0.2628, allocations: 57.31 kB / 0.912 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.263, allocations: 79.89 kB / 0.9121 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.2648, allocations: 0.7209 MB / 0.9128 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.2649, allocations: 3.938 kB / 0.9128 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/0.265, allocations: 28 kB / 0.9128 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.265, allocations: 19.95 kB / 0.9128 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.2669, allocations: 0.5203 MB / 0.9134 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004738/0.2716, allocations: 2.785 MB / 0.9161 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.2738, allocations: 0.6495 MB / 0.9167 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.398e-05/0.2739, allocations: 8.5 kB / 0.9167 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.2751, allocations: 398.2 kB / 0.9171 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=58): time 3.336e-06/0.2751, allocations: 0 / 0.9171 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58): time 0.003016/0.2781, allocations: 0.8534 MB / 0.9179 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/0.2783, allocations: 149.1 kB / 0.9181 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/0.279, allocations: 0.5121 MB / 0.9186 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/0.2791, allocations: 45.7 kB / 0.9186 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.2794, allocations: 352.3 kB / 0.919 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.2796, allocations: 185.4 kB / 0.9191 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.2796, allocations: 12 kB / 0.9191 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2798, allocations: 378.8 kB / 0.9195 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009028/0.2807, allocations: 257.5 kB / 0.9197 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2817, allocations: 429.2 kB / 0.9202 GB, free: 43.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000962/0.2827, allocations: 324.7 kB / 0.9205 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.2827, allocations: 4 kB / 0.9205 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002467/0.2852, allocations: 0.8762 MB / 0.9213 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000299/0.2855, allocations: 1.272 MB / 0.9226 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2855, allocations: 4 kB / 0.9226 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.2856, allocations: 15.89 kB / 0.9226 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/0.2865, allocations: 119.8 kB / 0.9227 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.2865, allocations: 7.984 kB / 0.9227 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2875, allocations: 139.3 kB / 0.9228 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.2876, allocations: 31.98 kB / 0.9229 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2876, allocations: 4 kB / 0.9229 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002047/0.2897, allocations: 0.7816 MB / 0.9236 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2897, allocations: 4 kB / 0.9236 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2897, allocations: 7.984 kB / 0.9236 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007707/0.2905, allocations: 115.8 kB / 0.9238 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2905, allocations: 4.375 kB / 0.9238 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009145/0.2915, allocations: 123.4 kB / 0.9239 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.2916, allocations: 39.97 kB / 0.9239 GB, free: 39.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition3,$whenCondition1,$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,optSta.con3.y,optSta.con.y,optSta.optOn,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 (79): * Single equations (assignments): 78 * 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.0004664/0.292, allocations: 297.5 kB / 0.9242 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.2922, allocations: 67.23 kB / 0.9243 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.2923, allocations: 70.31 kB / 0.9243 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.2924, allocations: 4 kB / 0.9243 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.2924, allocations: 4 kB / 0.9243 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.2924, allocations: 3.984 kB / 0.9243 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.2953, allocations: 1.324 MB / 0.9256 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2953, allocations: 0 / 0.9256 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.2961, allocations: 107.9 kB / 0.9257 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.2961, allocations: 3.938 kB / 0.9257 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.2962, allocations: 19.98 kB / 0.9258 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.2962, allocations: 0 / 0.9258 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2962, allocations: 0 / 0.9258 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.2994, allocations: 1.067 MB / 0.9268 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.2995, allocations: 136.2 kB / 0.9269 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.2997, allocations: 23.98 kB / 0.927 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/0.3004, allocations: 51.95 kB / 0.927 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.3005, allocations: 56.48 kB / 0.9271 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.3006, allocations: 23.97 kB / 0.9271 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005143/0.3011, allocations: 346.8 kB / 0.9274 GB, free: 35.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3011, allocations: 0 / 0.9274 GB, free: 35.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001043/0.3022, allocations: 279.1 kB / 0.9277 GB, free: 35.22 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 15 ($whenCondition2,$whenCondition3,$whenCondition1,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 (occSch.tNonOcc,occSch.tOcc,pul.count,occSch.nexStaInd,occSch.iPerSta,occSch.occupied,occSch.nexStoInd,occSch.iPerSto,optSta.hysSta.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * 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.0002378/0.3024, allocations: 135.1 kB / 0.9278 GB, free: 35.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003331/0.3058, allocations: 1.304 MB / 0.9291 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.3059, allocations: 0 / 0.9291 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.307, allocations: 315.1 kB / 0.9294 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.308, allocations: 114.2 kB / 0.9295 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.3111, allocations: 1.389 MB / 0.9309 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.3115, allocations: 0.9265 MB / 0.9318 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006398/0.3122, allocations: 88.92 kB / 0.9318 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.3124, allocations: 51.42 kB / 0.9319 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of SimCode: time 3.707e-06/0.3125, allocations: 0 / 0.9319 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.02062/0.3331, allocations: 7.5 MB / 0.9392 GB, free: 23.41 MB / 0.6042 GB