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.006307/0.006307, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.00126/0.00126, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.504/1.504, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.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.00151/0.00151, allocations: 63.91 kB / 0.7258 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.8452, allocations: 104.7 MB / 0.828 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002265/0.8476, allocations: 0.9114 MB / 0.8289 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003142/0.8507, allocations: 2.516 MB / 0.8314 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.8508, allocations: 3.938 kB / 0.8314 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/0.8509, allocations: 11.81 kB / 0.8314 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.8512, allocations: 55.56 kB / 0.8314 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.8524, allocations: 0.4952 MB / 0.8319 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.8528, allocations: 315.2 kB / 0.8322 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.043e-05/0.8529, allocations: 17.69 kB / 0.8322 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.8531, allocations: 155.6 kB / 0.8324 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.8533, allocations: 151.5 kB / 0.8325 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.8534, allocations: 24 kB / 0.8326 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.854, allocations: 367.7 kB / 0.8329 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.8541, allocations: 71.78 kB / 0.833 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.8542, allocations: 123.5 kB / 0.8331 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007086/0.8549, allocations: 0.5438 MB / 0.8336 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8549, allocations: 0 / 0.8336 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.272e-06/0.855, allocations: 4 kB / 0.8336 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.855, allocations: 0 / 0.8336 GB, free: 12.84 MB / 0.6387 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.001393/0.8564, allocations: 0.6568 MB / 0.8343 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8564, allocations: 12.03 kB / 0.8343 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.8565, allocations: 24.75 kB / 0.8343 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.8567, allocations: 196.7 kB / 0.8345 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.8569, allocations: 131.4 kB / 0.8346 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.857, allocations: 16.38 kB / 0.8346 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.8573, allocations: 252.9 kB / 0.8349 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.8574, allocations: 0 / 0.8349 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.8574, allocations: 8 kB / 0.8349 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.8574, allocations: 4 kB / 0.8349 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.8577, allocations: 115.7 kB / 0.835 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.8582, allocations: 395 kB / 0.8354 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.8596, allocations: 495.3 kB / 0.8359 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.8599, allocations: 162.3 kB / 0.836 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.8599, allocations: 11.92 kB / 0.836 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005508/0.8605, allocations: 312.2 kB / 0.8363 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.8605, allocations: 0 / 0.8363 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40): time 0.0008875/0.8614, allocations: 413 kB / 0.8367 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/0.8616, allocations: 358.1 kB / 0.8371 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.8618, allocations: 165.6 kB / 0.8372 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.8618, allocations: 45.7 kB / 0.8373 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.8619, allocations: 93.14 kB / 0.8373 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.862, allocations: 118.4 kB / 0.8375 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.8622, allocations: 98.22 kB / 0.8375 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8624, allocations: 326.8 kB / 0.8379 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.8626, allocations: 122 kB / 0.838 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.863, allocations: 172.9 kB / 0.8381 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006261/0.8636, allocations: 264.9 kB / 0.8384 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8636, allocations: 0 / 0.8384 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007264/0.8644, allocations: 383.4 kB / 0.8388 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.8644, allocations: 4 kB / 0.8388 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8644, allocations: 8 kB / 0.8388 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.8644, allocations: 0 / 0.8388 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.8648, allocations: 75.88 kB / 0.8388 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.8648, allocations: 7.938 kB / 0.8388 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.8651, allocations: 47.67 kB / 0.8389 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.8652, allocations: 23.97 kB / 0.8389 GB, free: 6.852 MB / 0.6387 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.8653, allocations: 153.7 kB / 0.8391 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.8654, allocations: 31.66 kB / 0.8391 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.8661, allocations: 354.7 kB / 0.8394 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.8662, allocations: 8 kB / 0.8394 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.8662, allocations: 7.938 kB / 0.8394 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.8662, allocations: 7.984 kB / 0.8395 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.8667, allocations: 349.1 kB / 0.8398 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.8667, allocations: 7.938 kB / 0.8398 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.867, allocations: 71.91 kB / 0.8399 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.867, allocations: 8.188 kB / 0.8399 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.8671, allocations: 15.98 kB / 0.8399 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.8671, allocations: 7.938 kB / 0.8399 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8671, allocations: 4 kB / 0.8399 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007926/0.8679, allocations: 0.4942 MB / 0.8404 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.8681, allocations: 156.5 kB / 0.8405 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.8681, allocations: 16 kB / 0.8405 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.8684, allocations: 31.97 kB / 0.8406 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8685, allocations: 55.81 kB / 0.8406 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.8686, allocations: 23.98 kB / 0.8407 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.296e-05/0.8687, allocations: 123.2 kB / 0.8408 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.8687, allocations: 0 / 0.8408 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006769/0.8693, allocations: 215.7 kB / 0.841 GB, free: 4.609 MB / 0.6387 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 (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.0005634/0.8699, allocations: 325.8 kB / 0.8413 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006628/0.8706, allocations: 338.1 kB / 0.8416 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.8706, allocations: 0 / 0.8416 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.8709, allocations: 187.7 kB / 0.8418 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.8712, allocations: 31.94 kB / 0.8418 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.8725, allocations: 0.5467 MB / 0.8424 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.8731, allocations: 0.7649 MB / 0.8431 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.8733, allocations: 51.33 kB / 0.8431 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.8734, allocations: 47.41 kB / 0.8432 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.8734, allocations: 0 / 0.8432 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of Templates: time 0.01177/0.8852, allocations: 5.659 MB / 0.8487 GB, free: 12.59 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (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)