Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.237/2.237, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 196.3 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 116.6 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 49.31 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2737, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.00637/0.2801, allocations: 6.029 MB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.004897/0.2851, allocations: 2.774 MB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.2868, allocations: 43.88 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.2873, allocations: 83.11 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.2878, allocations: 79.36 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2893, allocations: 430.7 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0008524/0.2902, allocations: 0.8176 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000495/0.2907, allocations: 418.3 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.291, allocations: 274.7 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.2912, allocations: 314.2 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.2913, allocations: 47.94 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.2915, allocations: 135.9 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2916, allocations: 135.4 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.2919, allocations: 329.9 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.2925, allocations: 0.9598 MB / 1.231 GB, free: 104.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2925, allocations: 4 kB / 1.231 GB, free: 104.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2925, allocations: 0 / 1.231 GB, free: 104.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.2925, allocations: 0 / 1.231 GB, free: 104.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001911/0.2944, allocations: 1.078 MB / 1.232 GB, free: 103.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.2945, allocations: 19.97 kB / 1.232 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.2947, allocations: 91.91 kB / 1.232 GB, free: 103.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/0.2953, allocations: 486.7 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.2954, allocations: 57.62 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-05/0.2955, allocations: 64.38 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.2963, allocations: 0.6042 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.2964, allocations: 8.109 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.2964, allocations: 31.94 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.2964, allocations: 16 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.2972, allocations: 437 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.2996, allocations: 2.296 MB / 1.236 GB, free: 98.96 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.3013, allocations: 0.8264 MB / 1.236 GB, free: 98.09 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.3017, allocations: 259.1 kB / 1.237 GB, free: 97.84 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3017, allocations: 4.375 kB / 1.237 GB, free: 97.84 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.3021, allocations: 257.3 kB / 1.237 GB, free: 97.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=51): time 3.727e-06/0.3022, allocations: 4 kB / 1.237 GB, free: 97.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=51): time 0.001064/0.3032, allocations: 0.5896 MB / 1.238 GB, free: 96.98 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3033, allocations: 115.2 kB / 1.238 GB, free: 96.84 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.3037, allocations: 486.7 kB / 1.238 GB, free: 96.35 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.3038, allocations: 49.69 kB / 1.238 GB, free: 96.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.3039, allocations: 340.1 kB / 1.238 GB, free: 95.96 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.304, allocations: 165.7 kB / 1.239 GB, free: 95.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.3042, allocations: 134.2 kB / 1.239 GB, free: 95.66 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.3043, allocations: 370.8 kB / 1.239 GB, free: 95.29 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.3047, allocations: 199.4 kB / 1.239 GB, free: 95.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.3051, allocations: 399.5 kB / 1.24 GB, free: 94.62 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.3058, allocations: 0.5183 MB / 1.24 GB, free: 94.05 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3058, allocations: 3.938 kB / 1.24 GB, free: 94.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009846/0.3068, allocations: 0.6675 MB / 1.241 GB, free: 93.36 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.3069, allocations: 37.7 kB / 1.241 GB, free: 93.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3069, allocations: 8 kB / 1.241 GB, free: 93.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3069, allocations: 4.5 kB / 1.241 GB, free: 93.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.3073, allocations: 111.8 kB / 1.241 GB, free: 93.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3073, allocations: 7.938 kB / 1.241 GB, free: 93.19 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.3078, allocations: 111.3 kB / 1.241 GB, free: 93.08 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.3078, allocations: 24 kB / 1.241 GB, free: 93.06 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004002/0.3082, allocations: 325.4 kB / 1.241 GB, free: 92.73 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003646/0.3086, allocations: 359.6 kB / 1.242 GB, free: 92.31 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004953/0.3091, allocations: 486.8 kB / 1.242 GB, free: 91.78 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.3091, allocations: 4 kB / 1.242 GB, free: 91.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.0007802/0.3099, allocations: 0.6209 MB / 1.243 GB, free: 91.14 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.3099, allocations: 42.78 kB / 1.243 GB, free: 91.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3099, allocations: 8 kB / 1.243 GB, free: 91.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.31, allocations: 4 kB / 1.243 GB, free: 91.08 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.3102, allocations: 95.83 kB / 1.243 GB, free: 90.99 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3103, allocations: 8 kB / 1.243 GB, free: 90.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.3107, allocations: 103.8 kB / 1.243 GB, free: 90.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.3108, allocations: 31.94 kB / 1.243 GB, free: 90.85 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optSta.falEdg.not_u,$PRE.optSta.falEdg.not_u,optSta.falEdg.y,optSta.hysSta.greHys.y,$PRE.optSta.hysSta.greHys.y,$whenCondition3,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.3109, allocations: 227.2 kB / 1.243 GB, free: 90.62 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.311, allocations: 55.34 kB / 1.243 GB, free: 90.57 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.3111, allocations: 61.81 kB / 1.243 GB, free: 90.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3111, allocations: 8 kB / 1.243 GB, free: 90.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.3111, allocations: 7.938 kB / 1.244 GB, free: 90.49 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3112, allocations: 11.92 kB / 1.244 GB, free: 90.48 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.3125, allocations: 1.158 MB / 1.245 GB, free: 89.26 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3125, allocations: 0 / 1.245 GB, free: 89.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.3129, allocations: 79.89 kB / 1.245 GB, free: 89.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3129, allocations: 4 kB / 1.245 GB, free: 89.18 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3129, allocations: 11.98 kB / 1.245 GB, free: 89.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3129, allocations: 0 / 1.245 GB, free: 89.17 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3129, allocations: 0 / 1.245 GB, free: 89.17 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005223/0.3181, allocations: 4.051 MB / 1.249 GB, free: 84.95 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.3183, allocations: 140.4 kB / 1.249 GB, free: 84.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.3183, allocations: 12 kB / 1.249 GB, free: 84.79 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.3186, allocations: 27.97 kB / 1.249 GB, free: 84.76 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.3187, allocations: 32.39 kB / 1.249 GB, free: 84.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.3187, allocations: 15.98 kB / 1.249 GB, free: 84.71 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002851/0.319, allocations: 334.9 kB / 1.249 GB, free: 84.39 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.319, allocations: 0 / 1.249 GB, free: 84.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009763/0.32, allocations: 342.9 kB / 1.25 GB, free: 84.05 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 11 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002198/0.3202, allocations: 161.2 kB / 1.25 GB, free: 83.88 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.3215, allocations: 0.9449 MB / 1.251 GB, free: 82.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3215, allocations: 0 / 1.251 GB, free: 82.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.3218, allocations: 206.4 kB / 1.251 GB, free: 82.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.3225, allocations: 115.4 kB / 1.251 GB, free: 82.59 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.3242, allocations: 1.629 MB / 1.253 GB, free: 80.92 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3245, allocations: 0.9183 MB / 1.253 GB, free: 79.97 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.3248, allocations: 80.5 kB / 1.254 GB, free: 79.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3249, allocations: 47.42 kB / 1.254 GB, free: 79.84 MB / 0.823 GB Notification: Performance of SimCode: time 3.61e-07/0.3249, allocations: 0 / 1.254 GB, free: 79.84 MB / 0.823 GB Notification: Performance of Templates: time 0.0116/0.3365, allocations: 8.146 MB / 1.262 GB, free: 71.79 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)