Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_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.0007278/0.0007279, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008177/0.0008177, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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.000496/0.000496, allocations: 17.47 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.244, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001079/0.2451, allocations: 0.5871 MB / 0.7879 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.2482, allocations: 2.404 MB / 0.7902 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2483, allocations: 0 / 0.7902 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.2484, allocations: 11.86 kB / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.2486, allocations: 43.75 kB / 0.7903 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.2499, allocations: 409.8 kB / 0.7907 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.2503, allocations: 279.1 kB / 0.7909 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.2504, allocations: 17.89 kB / 0.7909 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2506, allocations: 131.6 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.2508, allocations: 139.6 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.2508, allocations: 12 kB / 0.7912 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.2514, allocations: 283.7 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.2514, allocations: 59.84 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.2515, allocations: 61.58 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.252, allocations: 403 kB / 0.792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.252, allocations: 3.984 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.252, allocations: 0 / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.252, allocations: 4 kB / 0.792 GB, free: 7.102 MB / 0.6075 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.001166/0.2532, allocations: 0.6255 MB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2532, allocations: 11.97 kB / 0.7926 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.2533, allocations: 23.81 kB / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.2534, allocations: 195.4 kB / 0.7928 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.2536, allocations: 126.8 kB / 0.7929 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.2536, allocations: 23.98 kB / 0.793 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.254, allocations: 235.7 kB / 0.7932 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.254, allocations: 0 / 0.7932 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.254, allocations: 11.98 kB / 0.7932 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.254, allocations: 4 kB / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.2542, allocations: 115.7 kB / 0.7933 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.2547, allocations: 399.2 kB / 0.7937 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.2559, allocations: 0.4915 MB / 0.7942 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.2561, allocations: 150.3 kB / 0.7943 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.2562, allocations: 16 kB / 0.7943 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000429/0.2566, allocations: 311.5 kB / 0.7946 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 1.493e-06/0.2566, allocations: 0 / 0.7946 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007273/0.2573, allocations: 405.4 kB / 0.795 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.2575, allocations: 358.1 kB / 0.7954 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2576, allocations: 163.2 kB / 0.7955 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.2577, allocations: 45.69 kB / 0.7956 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.2577, allocations: 93.14 kB / 0.7956 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.762e-05/0.2578, allocations: 110.5 kB / 0.7958 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.2579, allocations: 12 kB / 0.7958 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.258, allocations: 338.8 kB / 0.7961 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.2582, allocations: 121 kB / 0.7962 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.2585, allocations: 161 kB / 0.7964 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.2588, allocations: 123.3 kB / 0.7965 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2588, allocations: 0 / 0.7965 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006546/0.2594, allocations: 377.2 kB / 0.7968 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2595, allocations: 4 kB / 0.7968 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.2595, allocations: 4 kB / 0.7968 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2595, allocations: 1 kB / 0.7968 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.2599, allocations: 79.88 kB / 0.7969 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.2599, allocations: 4 kB / 0.7969 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.2601, allocations: 59.56 kB / 0.797 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.2602, allocations: 19.98 kB / 0.797 GB, free: 1.398 MB / 0.6075 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0001412/0.2603, allocations: 167 kB / 0.7972 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.2604, allocations: 19.81 kB / 0.7972 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/0.261, allocations: 361.9 kB / 0.7975 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.261, allocations: 15.98 kB / 0.7975 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.261, allocations: 0 / 0.7975 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.261, allocations: 4 kB / 0.7975 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.2614, allocations: 361 kB / 0.7979 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2614, allocations: 0 / 0.7979 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.2616, allocations: 71.91 kB / 0.798 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.2617, allocations: 8 kB / 0.798 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.2617, allocations: 19.98 kB / 0.798 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.2617, allocations: 8 kB / 0.798 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2617, allocations: 3.938 kB / 0.798 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.2624, allocations: 493.7 kB / 0.7985 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.2625, allocations: 152.9 kB / 0.7986 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.2626, allocations: 15.98 kB / 0.7986 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.2628, allocations: 43.98 kB / 0.7987 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.2629, allocations: 47.89 kB / 0.7987 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.263, allocations: 23.98 kB / 0.7987 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.617e-05/0.2631, allocations: 140.5 kB / 0.7989 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.433e-06/0.2631, allocations: 0 / 0.7989 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005102/0.2636, allocations: 219.7 kB / 0.7991 GB, free: 15.13 MB / 0.6231 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 (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.0004511/0.264, allocations: 317 kB / 0.7994 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005574/0.2646, allocations: 326.8 kB / 0.7997 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2646, allocations: 0 / 0.7997 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.2649, allocations: 191.7 kB / 0.7999 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2652, allocations: 35.12 kB / 0.7999 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/0.2661, allocations: 0.636 MB / 0.8005 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2664, allocations: 0.7652 MB / 0.8013 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.2666, allocations: 55.27 kB / 0.8013 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.2667, allocations: 47.41 kB / 0.8014 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2667, allocations: 0 / 0.8014 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.008651/0.2754, allocations: 5.145 MB / 0.8064 GB, free: 7.551 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) Environment - environmentSimulation: