Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 303.4 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009548/0.0009549, allocations: 93.25 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.000435, allocations: 10.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3351, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.005899/0.341, allocations: 5.204 MB / 0.9847 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005641/0.3467, allocations: 2.702 MB / 0.9873 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.3487, allocations: 39.81 kB / 0.9873 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.3493, allocations: 87.11 kB / 0.9874 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.3499, allocations: 87.23 kB / 0.9875 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3512, allocations: 356.9 kB / 0.9878 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007963/0.352, allocations: 0.7863 MB / 0.9886 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.3524, allocations: 297.8 kB / 0.9889 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.3527, allocations: 222.9 kB / 0.9891 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.3529, allocations: 254.4 kB / 0.9894 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.353, allocations: 31.98 kB / 0.9894 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.3532, allocations: 107.9 kB / 0.9895 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.3533, allocations: 107.4 kB / 0.9896 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.3534, allocations: 141.3 kB / 0.9897 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.354, allocations: 0.7717 MB / 0.9905 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.354, allocations: 0 / 0.9905 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.404e-06/0.354, allocations: 0 / 0.9905 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.354, allocations: 0 / 0.9905 GB, free: 16.49 MB / 0.6198 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.001765/0.3558, allocations: 1.008 MB / 0.9915 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3558, allocations: 15.95 kB / 0.9915 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.356, allocations: 94.88 kB / 0.9916 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.3566, allocations: 0.5037 MB / 0.9921 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.3566, allocations: 49.31 kB / 0.9921 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.3567, allocations: 64 kB / 0.9922 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009139/0.3577, allocations: 0.6114 MB / 0.9928 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3577, allocations: 0 / 0.9928 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.3577, allocations: 31.98 kB / 0.9928 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.3578, allocations: 12 kB / 0.9928 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.3585, allocations: 464.9 kB / 0.9932 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.3612, allocations: 2.351 MB / 0.9955 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.363, allocations: 0.9531 MB / 0.9965 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.3633, allocations: 238 kB / 0.9967 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.3634, allocations: 5.906 kB / 0.9967 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004453/0.3638, allocations: 281.2 kB / 0.997 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.014e-06/0.3639, allocations: 0 / 0.997 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.0011/0.365, allocations: 0.6271 MB / 0.9976 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.365, allocations: 107.2 kB / 0.9977 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.3655, allocations: 0.5146 MB / 0.9982 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.3655, allocations: 49.64 kB / 0.9982 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3657, allocations: 360.2 kB / 0.9986 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.303e-05/0.3658, allocations: 169.6 kB / 0.9987 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.3659, allocations: 12 kB / 0.9988 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.366, allocations: 370.8 kB / 0.9991 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.3664, allocations: 209.2 kB / 0.9993 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.3668, allocations: 387.6 kB / 0.9997 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.3672, allocations: 271.8 kB / 0.9999 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3673, allocations: 7.938 kB / 0.9999 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001037/0.3683, allocations: 0.6909 MB / 1.001 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.3684, allocations: 247.1 kB / 1.001 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.3685, allocations: 4 kB / 1.001 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3685, allocations: 11.98 kB / 1.001 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.3689, allocations: 107.8 kB / 1.001 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.3689, allocations: 11.98 kB / 1.001 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.3694, allocations: 127.4 kB / 1.001 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.3694, allocations: 24 kB / 1.001 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.3694, allocations: 5.406 kB / 1.001 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000769/0.3702, allocations: 0.5612 MB / 1.002 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3702, allocations: 4 kB / 1.002 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.3703, allocations: 11.95 kB / 1.002 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.3706, allocations: 95.83 kB / 1.002 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3706, allocations: 12 kB / 1.002 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/0.371, allocations: 115.9 kB / 1.002 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.3711, allocations: 32 kB / 1.002 GB, free: 4.23 MB / 0.6198 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,$whenCondition3,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002556/0.3713, allocations: 290.7 kB / 1.002 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.3714, allocations: 63.23 kB / 1.002 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.3715, allocations: 70.27 kB / 1.002 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.3715, allocations: 8 kB / 1.002 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3716, allocations: 0 / 1.002 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3716, allocations: 3.984 kB / 1.002 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.3731, allocations: 1.193 MB / 1.004 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3731, allocations: 3.953 kB / 1.004 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.3734, allocations: 83.89 kB / 1.004 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3734, allocations: 3.938 kB / 1.004 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.3735, allocations: 11.98 kB / 1.004 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3735, allocations: 4 kB / 1.004 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3735, allocations: 0 / 1.004 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.3746, allocations: 0.7986 MB / 1.004 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.3747, allocations: 144.2 kB / 1.005 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.3748, allocations: 12 kB / 1.005 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.375, allocations: 39.97 kB / 1.005 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.3751, allocations: 36.38 kB / 1.005 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.3752, allocations: 16 kB / 1.005 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002998/0.3755, allocations: 350.8 kB / 1.005 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3755, allocations: 0 / 1.005 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006639/0.3761, allocations: 279 kB / 1.005 GB, free: 0.75 MB / 0.6198 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 (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.0002237/0.3764, allocations: 154.2 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.3779, allocations: 0.9655 MB / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3779, allocations: 8.125 kB / 1.006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.3784, allocations: 222.3 kB / 1.007 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.3791, allocations: 112.8 kB / 1.007 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3812, allocations: 1.328 MB / 1.008 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.3819, allocations: 0.9142 MB / 1.009 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003201/0.3822, allocations: 80.72 kB / 1.009 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3823, allocations: 51.42 kB / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.3823, allocations: 0 / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.01368/0.396, allocations: 7.018 MB / 1.016 GB, free: 5.91 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)