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.001622/0.001621, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002421/0.002422, allocations: 196.4 kB / 16.53 MB, free: 6.672 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.807/1.807, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.649/1.649, allocations: 251.7 MB / 0.5092 GB, free: 3.059 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.002119/0.002119, allocations: 75.89 kB / 0.6223 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7667, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002765/0.7695, allocations: 0.8975 MB / 0.7254 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003777/0.7733, allocations: 2.532 MB / 0.7279 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.7735, allocations: 3.938 kB / 0.7279 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.577e-05/0.7735, allocations: 11.81 kB / 0.7279 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.7738, allocations: 47.61 kB / 0.7279 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.7752, allocations: 0.4964 MB / 0.7284 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.7756, allocations: 315.1 kB / 0.7287 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.302e-05/0.7757, allocations: 13.67 kB / 0.7287 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.7759, allocations: 143.6 kB / 0.7289 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.7762, allocations: 155.5 kB / 0.729 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.7763, allocations: 24 kB / 0.729 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006641/0.7769, allocations: 307.8 kB / 0.7293 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.777, allocations: 67.86 kB / 0.7294 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.7772, allocations: 123.4 kB / 0.7295 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.7781, allocations: 0.5455 MB / 0.73 GB, free: 7.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7781, allocations: 3.938 kB / 0.7301 GB, free: 7.242 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.835e-06/0.7781, allocations: 0 / 0.7301 GB, free: 7.242 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.7781, allocations: 0 / 0.7301 GB, free: 7.242 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.001659/0.7798, allocations: 0.6606 MB / 0.7307 GB, free: 6.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.7798, allocations: 8.031 kB / 0.7307 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.78, allocations: 20.75 kB / 0.7307 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.7802, allocations: 192.7 kB / 0.7309 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.7804, allocations: 131.4 kB / 0.731 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.7805, allocations: 24.36 kB / 0.7311 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.7809, allocations: 240.4 kB / 0.7313 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.7809, allocations: 0 / 0.7313 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.781, allocations: 12 kB / 0.7313 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.781, allocations: 4 kB / 0.7313 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.7813, allocations: 123.7 kB / 0.7314 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.7818, allocations: 399.1 kB / 0.7318 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.7836, allocations: 487.3 kB / 0.7323 GB, free: 4.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.7839, allocations: 154.3 kB / 0.7324 GB, free: 4.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.784, allocations: 19.92 kB / 0.7324 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.7846, allocations: 311.5 kB / 0.7327 GB, free: 4.066 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/0.7847, allocations: 0 / 0.7327 GB, free: 4.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0009729/0.7856, allocations: 412.9 kB / 0.7331 GB, free: 3.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.7859, allocations: 354.1 kB / 0.7335 GB, free: 3.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.7861, allocations: 166.1 kB / 0.7336 GB, free: 3.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.7861, allocations: 45.69 kB / 0.7337 GB, free: 3.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.7862, allocations: 97.62 kB / 0.7338 GB, free: 2.914 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.7864, allocations: 114.6 kB / 0.7339 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.7865, allocations: 94.22 kB / 0.734 GB, free: 2.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.7867, allocations: 334.8 kB / 0.7343 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.787, allocations: 113.1 kB / 0.7344 GB, free: 2.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.7874, allocations: 172.9 kB / 0.7345 GB, free: 2.078 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/0.788, allocations: 269.4 kB / 0.7348 GB, free: 1.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.788, allocations: 0 / 0.7348 GB, free: 1.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009582/0.789, allocations: 383.8 kB / 0.7352 GB, free: 1.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.789, allocations: 6.188 kB / 0.7352 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.789, allocations: 0 / 0.7352 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/0.7891, allocations: 4 kB / 0.7352 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.7896, allocations: 80.62 kB / 0.7353 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.7896, allocations: 7.938 kB / 0.7353 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.7899, allocations: 47.66 kB / 0.7353 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.79, allocations: 23.98 kB / 0.7353 GB, free: 1.266 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 (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.0002395/0.7902, allocations: 161.7 kB / 0.7355 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.7903, allocations: 27.66 kB / 0.7355 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000815/0.7911, allocations: 358.1 kB / 0.7359 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.7912, allocations: 8 kB / 0.7359 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.7912, allocations: 4 kB / 0.7359 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.7912, allocations: 7.984 kB / 0.7359 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.7917, allocations: 349.1 kB / 0.7362 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.7917, allocations: 7.938 kB / 0.7362 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.792, allocations: 71.89 kB / 0.7363 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.7921, allocations: 8 kB / 0.7363 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.7921, allocations: 12 kB / 0.7363 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.7921, allocations: 15.92 kB / 0.7363 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.7921, allocations: 4 kB / 0.7363 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.793, allocations: 0.4903 MB / 0.7368 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.7933, allocations: 156.6 kB / 0.7369 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.7933, allocations: 15.91 kB / 0.737 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.7936, allocations: 31.97 kB / 0.737 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.7937, allocations: 55.81 kB / 0.737 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.7938, allocations: 20 kB / 0.7371 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000142/0.7939, allocations: 135.2 kB / 0.7372 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.794, allocations: 0 / 0.7372 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008124/0.7948, allocations: 219.7 kB / 0.7374 GB, free: 15 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 (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.0006609/0.7954, allocations: 333.2 kB / 0.7377 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007731/0.7962, allocations: 354.3 kB / 0.7381 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7962, allocations: 4 kB / 0.7381 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.7966, allocations: 183.7 kB / 0.7382 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.7969, allocations: 35.98 kB / 0.7383 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.7981, allocations: 0.5419 MB / 0.7388 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.7986, allocations: 0.7688 MB / 0.7396 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002391/0.7988, allocations: 51.27 kB / 0.7396 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.799, allocations: 51.41 kB / 0.7397 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.799, allocations: 0 / 0.7397 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.01186/0.8109, allocations: 5.602 MB / 0.7451 GB, free: 7.012 MB / 0.5606 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)