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.001478/0.001478, allocations: 98.27 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.01052/0.01052, allocations: 170.6 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.828/1.828, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.758/1.758, allocations: 252 MB / 0.5105 GB, free: 4.691 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.0005462/0.0005461, allocations: 12 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.6305, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001392/0.6319, allocations: 0.6303 MB / 0.7293 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00394/0.6359, allocations: 2.553 MB / 0.7318 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.636, allocations: 0 / 0.7318 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.636, allocations: 7.875 kB / 0.7318 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.6363, allocations: 51.67 kB / 0.7319 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.6374, allocations: 410.9 kB / 0.7323 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.6378, allocations: 307.1 kB / 0.7326 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.495e-05/0.6379, allocations: 19.62 kB / 0.7326 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.6381, allocations: 127.6 kB / 0.7327 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.6383, allocations: 151.5 kB / 0.7329 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.6384, allocations: 16 kB / 0.7329 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.6389, allocations: 299.7 kB / 0.7332 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.639, allocations: 55.84 kB / 0.7332 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.6392, allocations: 133.2 kB / 0.7333 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006775/0.6398, allocations: 0.5298 MB / 0.7339 GB, free: 6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6399, allocations: 0 / 0.7339 GB, free: 6 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6399, allocations: 4 kB / 0.7339 GB, free: 5.996 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.6399, allocations: 4 kB / 0.7339 GB, free: 5.992 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.001394/0.6413, allocations: 0.6289 MB / 0.7345 GB, free: 5.316 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.6413, allocations: 16.02 kB / 0.7345 GB, free: 5.301 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.6414, allocations: 20.75 kB / 0.7345 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.6416, allocations: 194.1 kB / 0.7347 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.6418, allocations: 127.4 kB / 0.7348 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.6419, allocations: 20.38 kB / 0.7348 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.6422, allocations: 243.8 kB / 0.7351 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6423, allocations: 3.938 kB / 0.7351 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.6423, allocations: 4 kB / 0.7351 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6423, allocations: 4 kB / 0.7351 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.6426, allocations: 119.8 kB / 0.7352 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.6431, allocations: 399 kB / 0.7356 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.6445, allocations: 0.4915 MB / 0.7361 GB, free: 3.398 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.6448, allocations: 158.3 kB / 0.7362 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.6448, allocations: 27.91 kB / 0.7362 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004864/0.6453, allocations: 307.5 kB / 0.7365 GB, free: 2.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.6453, allocations: 0 / 0.7365 GB, free: 2.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0008814/0.6462, allocations: 409.3 kB / 0.7369 GB, free: 2.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.6464, allocations: 354.1 kB / 0.7373 GB, free: 1.996 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.6466, allocations: 171.2 kB / 0.7374 GB, free: 1.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.6467, allocations: 37.7 kB / 0.7375 GB, free: 1.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.6467, allocations: 97.12 kB / 0.7375 GB, free: 1.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.6468, allocations: 118.4 kB / 0.7377 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.6469, allocations: 49.69 kB / 0.7377 GB, free: 1.508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6471, allocations: 334.8 kB / 0.738 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.6473, allocations: 113.1 kB / 0.7381 GB, free: 1.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.6477, allocations: 169 kB / 0.7383 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005542/0.6482, allocations: 258.4 kB / 0.7385 GB, free: 0.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6482, allocations: 7.938 kB / 0.7385 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007578/0.649, allocations: 384.5 kB / 0.7389 GB, free: 244 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.649, allocations: 8 kB / 0.7389 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.649, allocations: 3.984 kB / 0.7389 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6491, allocations: 4 kB / 0.7389 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.6495, allocations: 75.88 kB / 0.739 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6495, allocations: 4 kB / 0.739 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.6498, allocations: 59.66 kB / 0.7391 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.6498, allocations: 19.98 kB / 0.7391 GB, free: 68 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.0002115/0.6501, allocations: 151.5 kB / 0.7392 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.6501, allocations: 31.73 kB / 0.7393 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.6509, allocations: 366 kB / 0.7396 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.6509, allocations: 8 kB / 0.7396 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.6509, allocations: 4 kB / 0.7396 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.6509, allocations: 7.984 kB / 0.7396 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.6513, allocations: 345.1 kB / 0.74 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.6513, allocations: 7.938 kB / 0.74 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.6516, allocations: 71.91 kB / 0.74 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.6516, allocations: 4 kB / 0.74 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.6517, allocations: 19.98 kB / 0.7401 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.6517, allocations: 7.938 kB / 0.7401 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6517, allocations: 7.938 kB / 0.7401 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007359/0.6524, allocations: 0.49 MB / 0.7405 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.6526, allocations: 156.5 kB / 0.7407 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.6527, allocations: 19.98 kB / 0.7407 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.6529, allocations: 31.97 kB / 0.7407 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6531, allocations: 59.81 kB / 0.7408 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.6531, allocations: 24 kB / 0.7408 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001148/0.6532, allocations: 131.7 kB / 0.741 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6532, allocations: 0 / 0.741 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00066/0.6539, allocations: 215.7 kB / 0.7412 GB, free: 13.8 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.0005683/0.6545, allocations: 328.8 kB / 0.7415 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007062/0.6552, allocations: 334.4 kB / 0.7418 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6552, allocations: 4 kB / 0.7418 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.6555, allocations: 184.1 kB / 0.742 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.6559, allocations: 35.08 kB / 0.742 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.657, allocations: 0.6519 MB / 0.7426 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.6574, allocations: 0.7614 MB / 0.7434 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000234/0.6576, allocations: 50.89 kB / 0.7434 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.6577, allocations: 47.41 kB / 0.7435 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.6577, allocations: 0 / 0.7435 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.01081/0.6686, allocations: 5.251 MB / 0.7486 GB, free: 6.094 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: