Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.614/2.614, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 182.3 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.912/2.912, allocations: 205.4 MB / 0.5767 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 100.3 kB / 0.6813 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005071, allocations: 12.47 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2343, allocations: 106.3 MB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002637/0.237, allocations: 1.372 MB / 0.9004 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00477/0.2418, allocations: 1.884 MB / 0.9022 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.2421, allocations: 7.938 kB / 0.9022 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.85e-05/0.2422, allocations: 11.86 kB / 0.9022 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.2425, allocations: 39.69 kB / 0.9023 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.2444, allocations: 374.9 kB / 0.9026 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.2449, allocations: 259.2 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.245, allocations: 13.67 kB / 0.9029 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.2454, allocations: 119.6 kB / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.2457, allocations: 135.6 kB / 0.9031 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.143e-05/0.2458, allocations: 12 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.247, allocations: 275.7 kB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-05/0.2472, allocations: 51.84 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.2473, allocations: 61.58 kB / 0.9035 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.2483, allocations: 375.1 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2484, allocations: 0 / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.106e-06/0.2484, allocations: 0 / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2484, allocations: 0 / 0.9039 GB, free: 60.92 MB / 0.6042 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.002483/0.2509, allocations: 0.6304 MB / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.251, allocations: 12.03 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.2512, allocations: 20.75 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.2513, allocations: 188.9 kB / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.2516, allocations: 127.4 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.774e-05/0.2517, allocations: 20.38 kB / 0.9048 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.2524, allocations: 259.6 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2524, allocations: 3.984 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.2525, allocations: 8 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.2525, allocations: 4 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.2531, allocations: 123.7 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.2547, allocations: 0.9472 MB / 0.9062 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/0.2581, allocations: 495.1 kB / 0.9066 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.2586, allocations: 162.4 kB / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.967e-05/0.2587, allocations: 7.984 kB / 0.9068 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008288/0.2596, allocations: 308.5 kB / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 5.18e-06/0.2596, allocations: 0 / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.00184/0.2615, allocations: 398.5 kB / 0.9075 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.2617, allocations: 350.6 kB / 0.9078 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.262, allocations: 176 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.345e-05/0.2621, allocations: 41.64 kB / 0.908 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.2622, allocations: 108.9 kB / 0.9081 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.2624, allocations: 118.4 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.2625, allocations: 12 kB / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2626, allocations: 334.8 kB / 0.9086 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.2633, allocations: 105.1 kB / 0.9087 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.264, allocations: 180.4 kB / 0.9088 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.2647, allocations: 116 kB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.2647, allocations: 4 kB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0018/0.2665, allocations: 361 kB / 0.9093 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.2666, allocations: 10.03 kB / 0.9093 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.2666, allocations: 4 kB / 0.9093 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.2667, allocations: 4 kB / 0.9093 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.2677, allocations: 79.81 kB / 0.9094 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.2678, allocations: 4 kB / 0.9094 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/0.2686, allocations: 71.5 kB / 0.9094 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.2688, allocations: 32.03 kB / 0.9095 GB, free: 54.6 MB / 0.6042 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.0003041/0.2691, allocations: 145.7 kB / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.2693, allocations: 27.8 kB / 0.9096 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.2708, allocations: 362.2 kB / 0.91 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.2709, allocations: 8 kB / 0.91 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.2709, allocations: 7.938 kB / 0.91 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/0.271, allocations: 11.92 kB / 0.91 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.2716, allocations: 345.1 kB / 0.9103 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.2717, allocations: 4 kB / 0.9104 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.2723, allocations: 67.91 kB / 0.9104 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.2723, allocations: 4 kB / 0.9104 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.2724, allocations: 23.98 kB / 0.9104 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.2724, allocations: 4 kB / 0.9104 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2725, allocations: 7.938 kB / 0.9105 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.2738, allocations: 0.49 MB / 0.9109 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.2741, allocations: 144.6 kB / 0.9111 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.2742, allocations: 19.98 kB / 0.9111 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.2748, allocations: 43.97 kB / 0.9111 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.275, allocations: 48.25 kB / 0.9112 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.2751, allocations: 20 kB / 0.9112 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001807/0.2753, allocations: 135.7 kB / 0.9113 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.274e-06/0.2753, allocations: 4 kB / 0.9113 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001187/0.2765, allocations: 211.6 kB / 0.9115 GB, free: 52.37 MB / 0.6042 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009784/0.2775, allocations: 302.8 kB / 0.9118 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.279, allocations: 315.5 kB / 0.9121 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.279, allocations: 0 / 0.9121 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.2796, allocations: 184.4 kB / 0.9123 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.2802, allocations: 35.94 kB / 0.9123 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.282, allocations: 0.6399 MB / 0.913 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.2823, allocations: 0.7575 MB / 0.9137 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005615/0.2829, allocations: 59.05 kB / 0.9138 GB, free: 50 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.2832, allocations: 51.41 kB / 0.9138 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of SimCode: time 1.673e-06/0.2832, allocations: 3.938 kB / 0.9138 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.01519/0.2984, allocations: 5.026 MB / 0.9187 GB, free: 44.92 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)