Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.695/1.695, allocations: 287.4 MB / 303.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 174.7 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 0.6304 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008512/0.0008516, allocations: 98.14 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004205, allocations: 19.48 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2342, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0009471/0.2352, allocations: 0.591 MB / 0.9799 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002885/0.2382, allocations: 2.326 MB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.2383, allocations: 0 / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.2383, allocations: 11.86 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.2386, allocations: 43.73 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009575/0.2396, allocations: 366.9 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.2398, allocations: 255.2 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.2399, allocations: 13.95 kB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.2401, allocations: 135.5 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.2403, allocations: 131.6 kB / 0.983 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.2404, allocations: 12 kB / 0.9831 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.2409, allocations: 279.7 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.241, allocations: 55.84 kB / 0.9834 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.241, allocations: 61.58 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.2414, allocations: 379 kB / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2415, allocations: 0 / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2415, allocations: 0 / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2415, allocations: 0 / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001237/0.2427, allocations: 0.6149 MB / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.2428, allocations: 23.95 kB / 0.9844 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.2428, allocations: 20.66 kB / 0.9844 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.243, allocations: 184.1 kB / 0.9846 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.2431, allocations: 127.4 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.2431, allocations: 20.38 kB / 0.9848 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.2434, allocations: 263.6 kB / 0.985 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2435, allocations: 0 / 0.985 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.2435, allocations: 4 kB / 0.985 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2435, allocations: 11.94 kB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.2437, allocations: 115.8 kB / 0.9851 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.2444, allocations: 0.955 MB / 0.9861 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.2457, allocations: 491.1 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2459, allocations: 158.4 kB / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.2459, allocations: 11.98 kB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.2463, allocations: 307.8 kB / 0.987 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.254e-06/0.2463, allocations: 0 / 0.987 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0006618/0.2469, allocations: 405.8 kB / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.247, allocations: 346.6 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2472, allocations: 180.1 kB / 0.9879 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2472, allocations: 37.7 kB / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.2473, allocations: 105 kB / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.2473, allocations: 110.5 kB / 0.9881 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.2473, allocations: 11.94 kB / 0.9881 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.2474, allocations: 338.8 kB / 0.9885 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.2476, allocations: 101.1 kB / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.2479, allocations: 188.3 kB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.2483, allocations: 274.6 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2484, allocations: 7.938 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006058/0.249, allocations: 365.8 kB / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.249, allocations: 9.562 kB / 0.9894 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.249, allocations: 4.188 kB / 0.9894 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.249, allocations: 4 kB / 0.9894 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.2494, allocations: 79.88 kB / 0.9894 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.2494, allocations: 4 kB / 0.9895 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.2497, allocations: 63.64 kB / 0.9895 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.2498, allocations: 27.92 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.2499, allocations: 153.7 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.25, allocations: 23.72 kB / 0.9897 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.2506, allocations: 358 kB / 0.99 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.2506, allocations: 4 kB / 0.9901 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2506, allocations: 4 kB / 0.9901 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2507, allocations: 152.5 kB / 0.9902 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.2508, allocations: 28.3 kB / 0.9902 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.251, allocations: 27.98 kB / 0.9903 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2511, allocations: 51.94 kB / 0.9903 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008061/0.252, allocations: 1.36 MB / 0.9916 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007224/0.2527, allocations: 1.385 MB / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001976/0.2529, allocations: 160.3 kB / 0.9931 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.871e-05/0.253, allocations: 131.2 kB / 0.9933 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of Backend: time 7.22e-07/0.253, allocations: 0 / 0.9933 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001872/0.2549, allocations: 465.8 kB / 0.9937 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007535/0.2556, allocations: 0.8807 MB / 0.9946 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.00901/0.2647, allocations: 5.233 MB / 0.9997 GB, free: 6.551 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)