Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.725/1.725, allocations: 251.9 MB / 0.51 GB, free: 4.867 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005508/0.0005511, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.6589, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001061/0.66, allocations: 0.5911 MB / 0.7286 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.6632, allocations: 2.418 MB / 0.7309 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.963e-05/0.6633, allocations: 3.938 kB / 0.7309 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.6634, allocations: 11.88 kB / 0.7309 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.6636, allocations: 47.89 kB / 0.731 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000845/0.6645, allocations: 414.9 kB / 0.7314 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.6648, allocations: 187.7 kB / 0.7316 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.6649, allocations: 15.64 kB / 0.7316 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.6651, allocations: 143.6 kB / 0.7317 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.6653, allocations: 143.5 kB / 0.7318 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.6654, allocations: 12 kB / 0.7319 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.6659, allocations: 287.8 kB / 0.7321 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.666, allocations: 63.72 kB / 0.7322 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.666, allocations: 57.64 kB / 0.7322 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.6665, allocations: 407 kB / 0.7326 GB, free: 6.668 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6666, allocations: 4 kB / 0.7326 GB, free: 6.664 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6666, allocations: 0 / 0.7326 GB, free: 6.664 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.6666, allocations: 0 / 0.7326 GB, free: 6.664 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001426/0.668, allocations: 0.6332 MB / 0.7333 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.668, allocations: 12.03 kB / 0.7333 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.6681, allocations: 15.81 kB / 0.7333 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.6683, allocations: 192.9 kB / 0.7335 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.6685, allocations: 122.8 kB / 0.7336 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.6685, allocations: 23.94 kB / 0.7336 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.6689, allocations: 239.6 kB / 0.7338 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6689, allocations: 4 kB / 0.7338 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.669, allocations: 8 kB / 0.7338 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.669, allocations: 4 kB / 0.7338 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.6692, allocations: 119.7 kB / 0.734 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.6697, allocations: 399 kB / 0.7343 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.6711, allocations: 495.5 kB / 0.7348 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.6712, allocations: 20.12 kB / 0.7348 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.6717, allocations: 307.5 kB / 0.7351 GB, free: 3.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.853e-06/0.6717, allocations: 0 / 0.7351 GB, free: 3.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0007712/0.6725, allocations: 405.9 kB / 0.7355 GB, free: 3.305 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.6727, allocations: 350.6 kB / 0.7358 GB, free: 2.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.6728, allocations: 171.9 kB / 0.736 GB, free: 2.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.6729, allocations: 37.7 kB / 0.736 GB, free: 2.664 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.6729, allocations: 97.12 kB / 0.7361 GB, free: 2.566 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.6731, allocations: 118.6 kB / 0.7363 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.6731, allocations: 8 kB / 0.7363 GB, free: 2.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6732, allocations: 338.8 kB / 0.7366 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.6735, allocations: 113.1 kB / 0.7367 GB, free: 1.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.6739, allocations: 165 kB / 0.7368 GB, free: 1.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.6741, allocations: 115.4 kB / 0.737 GB, free: 1.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6742, allocations: 0 / 0.737 GB, free: 1.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007951/0.675, allocations: 381.3 kB / 0.7373 GB, free: 1.336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.675, allocations: 9.875 kB / 0.7373 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.675, allocations: 64 / 0.7373 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.675, allocations: 12 kB / 0.7373 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.6754, allocations: 75.88 kB / 0.7374 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.6754, allocations: 4 kB / 0.7374 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.6757, allocations: 59.53 kB / 0.7375 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.6758, allocations: 23.98 kB / 0.7375 GB, free: 1.156 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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.0001608/0.6759, allocations: 157.7 kB / 0.7376 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.676, allocations: 24.47 kB / 0.7377 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.6767, allocations: 366 kB / 0.738 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6767, allocations: 8 kB / 0.738 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.6767, allocations: 4 kB / 0.738 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.6767, allocations: 7.984 kB / 0.738 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.6771, allocations: 349.1 kB / 0.7384 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.6771, allocations: 4 kB / 0.7384 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.6774, allocations: 71.89 kB / 0.7384 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.6774, allocations: 8 kB / 0.7385 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.6775, allocations: 16 kB / 0.7385 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.6775, allocations: 15.86 kB / 0.7385 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6775, allocations: 11.98 kB / 0.7385 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/0.6783, allocations: 0.6219 MB / 0.7391 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.6785, allocations: 152.5 kB / 0.7392 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.6785, allocations: 16 kB / 0.7393 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.6788, allocations: 39.97 kB / 0.7393 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6789, allocations: 51.83 kB / 0.7394 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.6789, allocations: 23.98 kB / 0.7394 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.815e-05/0.679, allocations: 131.8 kB / 0.7395 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.679, allocations: 0 / 0.7395 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005953/0.6796, allocations: 211.7 kB / 0.7397 GB, free: 14.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005321/0.6802, allocations: 324.9 kB / 0.74 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006328/0.6808, allocations: 327.6 kB / 0.7403 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6808, allocations: 0 / 0.7403 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.6811, allocations: 183.7 kB / 0.7405 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.6813, allocations: 22.94 kB / 0.7405 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.6823, allocations: 0.6332 MB / 0.7411 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.6826, allocations: 0.7691 MB / 0.7419 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002138/0.6829, allocations: 59.33 kB / 0.7419 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.683, allocations: 43.41 kB / 0.742 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.683, allocations: 0 / 0.742 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.009487/0.6925, allocations: 5.148 MB / 0.747 GB, free: 7.121 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) Environment - environmentSimulation: