Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 187.9 kB / 327.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007908/0.0007909, allocations: 91.89 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 11.19 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.3474, allocations: 142.8 MB / 1.041 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.3477, allocations: 79.95 kB / 1.041 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0345/0.3822, allocations: 12.52 MB / 1.053 GB, free: 4.051 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.604e-06/0.3822, allocations: 0 / 1.053 GB, free: 4.051 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.64e-05/0.3823, allocations: 16 kB / 1.053 GB, free: 4.035 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.002567/0.3849, allocations: 1.064 MB / 1.054 GB, free: 2.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.385, allocations: 12.03 kB / 1.054 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.3853, allocations: 99.81 kB / 1.054 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3864, allocations: 0.5086 MB / 1.055 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.008e-05/0.3865, allocations: 57.62 kB / 1.055 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.3866, allocations: 80.36 kB / 1.055 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.3881, allocations: 0.7293 MB / 1.055 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.3881, allocations: 3.938 kB / 1.055 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.3882, allocations: 28 kB / 1.056 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.3882, allocations: 16 kB / 1.056 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.3894, allocations: 0.532 MB / 1.056 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3773/0.7668, allocations: 2.527 MB / 1.059 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.768, allocations: 0.659 MB / 1.059 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.7685, allocations: 315.2 kB / 1.059 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.7686, allocations: 10.22 kB / 1.059 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006814/0.7693, allocations: 424.8 kB / 1.06 GB, free: 143 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 2.705e-06/0.7693, allocations: 0 / 1.06 GB, free: 143 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.001827/0.7711, allocations: 0.899 MB / 1.061 GB, free: 142.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.7712, allocations: 147.5 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.7718, allocations: 0.5158 MB / 1.061 GB, free: 142.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.7718, allocations: 44.33 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.7721, allocations: 338.8 kB / 1.062 GB, free: 142.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.7722, allocations: 197.8 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.7722, allocations: 17.91 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.7723, allocations: 374.3 kB / 1.062 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/0.7729, allocations: 273.1 kB / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.7735, allocations: 385.2 kB / 1.063 GB, free: 142 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000984/0.7745, allocations: 0.5853 MB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7745, allocations: 0 / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001431/0.7759, allocations: 0.8781 MB / 1.064 GB, free: 141.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.267e-05/0.776, allocations: 170.6 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.776, allocations: 3.031 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.7761, allocations: 2.875 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.7765, allocations: 128.5 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.7766, allocations: 6.297 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.7771, allocations: 134.8 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.7771, allocations: 24.69 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/0.7771, allocations: 9.406 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/0.7784, allocations: 0.768 MB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.7784, allocations: 0.5625 kB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.7784, allocations: 5.25 kB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.7788, allocations: 111.1 kB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7788, allocations: 5.047 kB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.7793, allocations: 114.2 kB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.7794, allocations: 29.64 kB / 1.066 GB, free: 141.5 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.0003607/0.7797, allocations: 289.7 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.7798, allocations: 72.31 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.78, allocations: 75.28 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.78, allocations: 6.094 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.78, allocations: 5.094 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.78, allocations: 3.609 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.7823, allocations: 1.388 MB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7824, allocations: 6.984 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.7829, allocations: 103.9 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.7829, allocations: 4.297 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.245e-05/0.7829, allocations: 19.42 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.783, allocations: 4.75 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.783, allocations: 0.7812 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.7851, allocations: 1.121 MB / 1.069 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.7853, allocations: 147.7 kB / 1.069 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.7854, allocations: 23.94 kB / 1.069 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.7858, allocations: 59.98 kB / 1.069 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.7859, allocations: 58.14 kB / 1.069 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.786, allocations: 23.42 kB / 1.069 GB, free: 140.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005005/0.7865, allocations: 361.4 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.082e-06/0.7865, allocations: 4 kB / 1.07 GB, free: 140.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000888/0.7874, allocations: 283.7 kB / 1.07 GB, free: 140.4 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.0002155/0.7876, allocations: 143.1 kB / 1.07 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.79, allocations: 1.307 MB / 1.071 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.79, allocations: 0 / 1.071 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007625/0.7908, allocations: 330 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.7917, allocations: 135.3 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.794, allocations: 1.423 MB / 1.073 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.7944, allocations: 0.914 MB / 1.074 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004088/0.7949, allocations: 84.59 kB / 1.074 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.795, allocations: 51.94 kB / 1.074 GB, free: 138.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/0.795, allocations: 0 / 1.074 GB, free: 138.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01452/0.8095, allocations: 7.761 MB / 1.082 GB, free: 138.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)