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.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008721, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007958/0.007959, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.751/1.751, allocations: 205.4 MB / 222.4 MB, free: 5.781 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.77/1.77, allocations: 252 MB / 0.5105 GB, free: 4.578 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.0005237/0.0005235, allocations: 16 kB / 0.6249 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.637/0.6375, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001198/0.6388, allocations: 0.6225 MB / 0.7293 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.642, allocations: 2.553 MB / 0.7318 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.6421, allocations: 4 kB / 0.7318 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.6421, allocations: 7.875 kB / 0.7318 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.6424, allocations: 47.69 kB / 0.7319 GB, free: 7.973 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.6433, allocations: 417.3 kB / 0.7323 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.6436, allocations: 303.1 kB / 0.7326 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.6437, allocations: 11.66 kB / 0.7326 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.6439, allocations: 139.5 kB / 0.7327 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.6441, allocations: 143.5 kB / 0.7329 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.6441, allocations: 12 kB / 0.7329 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.6446, allocations: 299.8 kB / 0.7332 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.6447, allocations: 59.84 kB / 0.7332 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.6449, allocations: 145.2 kB / 0.7334 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007386/0.6456, allocations: 0.5299 MB / 0.7339 GB, free: 5.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6457, allocations: 3.938 kB / 0.7339 GB, free: 5.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.053e-06/0.6457, allocations: 0 / 0.7339 GB, free: 5.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.6457, allocations: 0 / 0.7339 GB, free: 5.934 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.001366/0.6471, allocations: 0.6256 MB / 0.7345 GB, free: 5.258 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6471, allocations: 8.031 kB / 0.7345 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.6472, allocations: 28.66 kB / 0.7345 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.6474, allocations: 190.2 kB / 0.7347 GB, free: 4.996 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.6475, allocations: 127.4 kB / 0.7348 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.6476, allocations: 20.38 kB / 0.7348 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.6479, allocations: 239.8 kB / 0.7351 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.648, allocations: 8 kB / 0.7351 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.648, allocations: 4 kB / 0.7351 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.648, allocations: 4 kB / 0.7351 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.6482, allocations: 115.7 kB / 0.7352 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.6487, allocations: 403 kB / 0.7356 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.6502, allocations: 495.2 kB / 0.7361 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.6505, allocations: 170.3 kB / 0.7362 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.6505, allocations: 11.92 kB / 0.7362 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.6511, allocations: 311.5 kB / 0.7365 GB, free: 2.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.535e-06/0.6511, allocations: 0 / 0.7365 GB, free: 2.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0009395/0.652, allocations: 417.2 kB / 0.7369 GB, free: 2.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002577/0.6523, allocations: 358.1 kB / 0.7373 GB, free: 1.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.6525, allocations: 171.2 kB / 0.7374 GB, free: 1.762 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.6526, allocations: 37.7 kB / 0.7375 GB, free: 1.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.6526, allocations: 97.62 kB / 0.7376 GB, free: 1.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.6528, allocations: 114.5 kB / 0.7377 GB, free: 1.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.6529, allocations: 49.69 kB / 0.7377 GB, free: 1.453 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.653, allocations: 330.8 kB / 0.738 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.6534, allocations: 121 kB / 0.7381 GB, free: 1.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.6537, allocations: 165 kB / 0.7383 GB, free: 0.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.6543, allocations: 270.7 kB / 0.7386 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.6543, allocations: 0 / 0.7386 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008023/0.6551, allocations: 380.3 kB / 0.7389 GB, free: 188 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.6552, allocations: 8 kB / 0.7389 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6552, allocations: 0 / 0.7389 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.6552, allocations: 4 kB / 0.7389 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.6557, allocations: 75.88 kB / 0.739 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.6557, allocations: 11.94 kB / 0.739 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.656, allocations: 55.66 kB / 0.7391 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.6561, allocations: 19.98 kB / 0.7391 GB, free: 12 kB / 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.0002517/0.6563, allocations: 145.8 kB / 0.7392 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.6564, allocations: 35.64 kB / 0.7393 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.6571, allocations: 355.5 kB / 0.7396 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.6571, allocations: 12.25 kB / 0.7396 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.6572, allocations: 4 kB / 0.7396 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.6572, allocations: 8 kB / 0.7396 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.6576, allocations: 349.1 kB / 0.74 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6576, allocations: 7.938 kB / 0.74 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.6579, allocations: 71.91 kB / 0.74 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-05/0.658, allocations: 4 kB / 0.74 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.658, allocations: 19.98 kB / 0.7401 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.658, allocations: 7.938 kB / 0.7401 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.658, allocations: 4.188 kB / 0.7401 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.6588, allocations: 0.4939 MB / 0.7405 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.659, allocations: 152.5 kB / 0.7407 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.659, allocations: 19.98 kB / 0.7407 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.6593, allocations: 35.98 kB / 0.7407 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.6594, allocations: 55.81 kB / 0.7408 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.6594, allocations: 23.98 kB / 0.7408 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001152/0.6596, allocations: 139.7 kB / 0.741 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6596, allocations: 0 / 0.741 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006597/0.6602, allocations: 215.7 kB / 0.7412 GB, free: 13.75 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.0005873/0.6608, allocations: 328.8 kB / 0.7415 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007221/0.6616, allocations: 324.9 kB / 0.7418 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6616, allocations: 0 / 0.7418 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.6619, allocations: 196.5 kB / 0.742 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.6623, allocations: 34.61 kB / 0.742 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.6633, allocations: 0.644 MB / 0.7426 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.6637, allocations: 0.7574 MB / 0.7434 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002263/0.6639, allocations: 57.81 kB / 0.7434 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.6641, allocations: 47.41 kB / 0.7435 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.6641, allocations: 0 / 0.7435 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.01057/0.6746, allocations: 5.282 MB / 0.7486 GB, free: 6.059 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: