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.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009872/0.009872, allocations: 171 kB / 16.26 MB, free: 6.613 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.693/1.693, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.619/1.619, allocations: 252 MB / 0.5105 GB, free: 4.684 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.000596/0.0005959, allocations: 12 kB / 0.6249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5824/0.583, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001381/0.5844, allocations: 0.6225 MB / 0.7293 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00435/0.5888, allocations: 2.549 MB / 0.7318 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.5889, allocations: 0 / 0.7318 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.5889, allocations: 11.86 kB / 0.7318 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.5892, allocations: 51.69 kB / 0.7319 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.5906, allocations: 406.9 kB / 0.7323 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.5911, allocations: 315 kB / 0.7326 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.5912, allocations: 15.64 kB / 0.7326 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.5915, allocations: 131.6 kB / 0.7327 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.5918, allocations: 147.5 kB / 0.7329 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.5918, allocations: 12 kB / 0.7329 GB, free: 7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007383/0.5926, allocations: 303.7 kB / 0.7332 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.5927, allocations: 51.86 kB / 0.7332 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.5929, allocations: 141.2 kB / 0.7333 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.5939, allocations: 0.5298 MB / 0.7339 GB, free: 5.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.594, allocations: 0 / 0.7339 GB, free: 5.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.594, allocations: 0 / 0.7339 GB, free: 5.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.594, allocations: 4 kB / 0.7339 GB, free: 5.973 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.001985/0.596, allocations: 0.6334 MB / 0.7345 GB, free: 5.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.596, allocations: 8.031 kB / 0.7345 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.5962, allocations: 24.66 kB / 0.7345 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.5964, allocations: 186.2 kB / 0.7347 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.5966, allocations: 127.4 kB / 0.7348 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.5967, allocations: 24.36 kB / 0.7348 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.5973, allocations: 235.8 kB / 0.7351 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5973, allocations: 3.938 kB / 0.7351 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.5973, allocations: 8 kB / 0.7351 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5973, allocations: 7.984 kB / 0.7351 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.5977, allocations: 115.8 kB / 0.7352 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.5984, allocations: 403 kB / 0.7356 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.6006, allocations: 0.4953 MB / 0.7361 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.601, allocations: 158.3 kB / 0.7362 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.601, allocations: 15.94 kB / 0.7362 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006904/0.6018, allocations: 303.5 kB / 0.7365 GB, free: 2.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 3.707e-06/0.6018, allocations: 0 / 0.7365 GB, free: 2.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.001273/0.6031, allocations: 414.3 kB / 0.7369 GB, free: 2.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002371/0.6033, allocations: 362.1 kB / 0.7373 GB, free: 1.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.6035, allocations: 167.2 kB / 0.7374 GB, free: 1.805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/0.6036, allocations: 41.69 kB / 0.7375 GB, free: 1.758 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.6037, allocations: 93.14 kB / 0.7375 GB, free: 1.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.6039, allocations: 114.5 kB / 0.7377 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.604, allocations: 53.62 kB / 0.7377 GB, free: 1.492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6042, allocations: 334.8 kB / 0.738 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.6046, allocations: 117.1 kB / 0.7381 GB, free: 1.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.605, allocations: 165 kB / 0.7383 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008407/0.6059, allocations: 264.4 kB / 0.7385 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.6059, allocations: 11.98 kB / 0.7386 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001161/0.6071, allocations: 376.2 kB / 0.7389 GB, free: 228 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.6071, allocations: 8 kB / 0.7389 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.6072, allocations: 64 / 0.7389 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.6072, allocations: 8 kB / 0.7389 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/0.6077, allocations: 75.88 kB / 0.739 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.6078, allocations: 4 kB / 0.739 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.6083, allocations: 59.66 kB / 0.7391 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.6083, allocations: 23.98 kB / 0.7391 GB, free: 48 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.0002981/0.6086, allocations: 150.5 kB / 0.7392 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.6088, allocations: 31.66 kB / 0.7393 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.6099, allocations: 358 kB / 0.7396 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.6099, allocations: 8 kB / 0.7396 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.6099, allocations: 4 kB / 0.7396 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.61, allocations: 7.984 kB / 0.7396 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/0.6107, allocations: 345.1 kB / 0.7399 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6107, allocations: 11.94 kB / 0.74 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.6111, allocations: 75.89 kB / 0.74 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-05/0.6112, allocations: 4 kB / 0.74 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.6112, allocations: 16 kB / 0.7401 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/0.6113, allocations: 11.92 kB / 0.7401 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.6113, allocations: 7.984 kB / 0.7401 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.6124, allocations: 0.4903 MB / 0.7406 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.6127, allocations: 160.5 kB / 0.7407 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.6128, allocations: 16 kB / 0.7407 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.6132, allocations: 35.97 kB / 0.7408 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.6134, allocations: 51.81 kB / 0.7408 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.6134, allocations: 31.98 kB / 0.7408 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000175/0.6136, allocations: 127.8 kB / 0.741 GB, free: 14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6136, allocations: 0 / 0.741 GB, free: 14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001035/0.6147, allocations: 215.7 kB / 0.7412 GB, free: 13.79 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.0009961/0.6157, allocations: 328.8 kB / 0.7415 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009656/0.6167, allocations: 325.6 kB / 0.7418 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6167, allocations: 0 / 0.7418 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.6171, allocations: 188.2 kB / 0.742 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.6176, allocations: 34.8 kB / 0.742 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.6191, allocations: 0.6594 MB / 0.7426 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.6196, allocations: 0.7614 MB / 0.7434 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000362/0.62, allocations: 56.08 kB / 0.7434 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.6202, allocations: 43.41 kB / 0.7435 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.6202, allocations: 0 / 0.7435 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of Templates: time 0.01491/0.6351, allocations: 5.279 MB / 0.7486 GB, free: 6.09 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) Environment - environmentSimulation: