Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.502/2.502, allocations: 287.5 MB / 303.2 MB, free: 8.234 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.001365/0.001365, allocations: 178.1 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009492/0.0009487, allocations: 88.98 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006563/0.0006565, allocations: 16.39 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2366, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9399/1.177, allocations: 138.7 MB / 1.115 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/1.177, allocations: 79.78 kB / 1.115 GB, free: 15.94 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.05953/1.236, allocations: 10.12 MB / 1.125 GB, free: 31.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.297e-06/1.236, allocations: 7.875 kB / 1.125 GB, free: 31.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.236, allocations: 3.938 kB / 1.125 GB, free: 31.1 MB / 0.698 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.002467/1.239, allocations: 0.6276 MB / 1.125 GB, free: 30.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.239, allocations: 11.5 kB / 1.125 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/1.239, allocations: 28.09 kB / 1.125 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/1.239, allocations: 193.1 kB / 1.126 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/1.24, allocations: 125.8 kB / 1.126 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.551e-05/1.24, allocations: 23.53 kB / 1.126 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/1.24, allocations: 247.8 kB / 1.126 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/1.24, allocations: 3.938 kB / 1.126 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/1.241, allocations: 10.94 kB / 1.126 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/1.241, allocations: 7.844 kB / 1.126 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/1.241, allocations: 122 kB / 1.126 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/1.242, allocations: 0.9496 MB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/1.245, allocations: 496.9 kB / 1.127 GB, free: 28.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/1.245, allocations: 156.1 kB / 1.128 GB, free: 28.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.095e-05/1.245, allocations: 10.7 kB / 1.128 GB, free: 28.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005491/1.246, allocations: 305.5 kB / 1.128 GB, free: 28.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.996e-06/1.246, allocations: 0 / 1.128 GB, free: 28.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001166/1.247, allocations: 395.3 kB / 1.128 GB, free: 28.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/1.247, allocations: 351.7 kB / 1.129 GB, free: 28.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/1.247, allocations: 178.9 kB / 1.129 GB, free: 28.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/1.247, allocations: 40.55 kB / 1.129 GB, free: 28.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/1.247, allocations: 106.4 kB / 1.129 GB, free: 28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/1.248, allocations: 116.4 kB / 1.129 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/1.248, allocations: 9.625 kB / 1.129 GB, free: 27.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.248, allocations: 334.5 kB / 1.129 GB, free: 27.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/1.248, allocations: 111.2 kB / 1.129 GB, free: 27.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/1.249, allocations: 178.6 kB / 1.13 GB, free: 27.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/1.249, allocations: 277.1 kB / 1.13 GB, free: 27.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.249, allocations: 0 / 1.13 GB, free: 27.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00113/1.251, allocations: 377 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.251, allocations: 3.844 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.251, allocations: 3.844 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.251, allocations: 3.812 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/1.251, allocations: 77.72 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/1.251, allocations: 7.75 kB / 1.13 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/1.252, allocations: 61.77 kB / 1.13 GB, free: 27.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/1.252, allocations: 21.42 kB / 1.13 GB, free: 27.36 MB / 0.698 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.0002478/1.252, allocations: 157.6 kB / 1.131 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/1.252, allocations: 22.14 kB / 1.131 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/1.253, allocations: 367.9 kB / 1.131 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.253, allocations: 7.719 kB / 1.131 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.253, allocations: 7.719 kB / 1.131 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.253, allocations: 6.703 kB / 1.131 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/1.254, allocations: 348.7 kB / 1.131 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.254, allocations: 3.844 kB / 1.131 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/1.255, allocations: 72.23 kB / 1.131 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/1.255, allocations: 7.625 kB / 1.131 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/1.255, allocations: 13.73 kB / 1.131 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/1.255, allocations: 15.81 kB / 1.131 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.255, allocations: 3.656 kB / 1.131 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009629/1.256, allocations: 494.2 kB / 1.132 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/1.256, allocations: 143.9 kB / 1.132 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/1.256, allocations: 17.75 kB / 1.132 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/1.256, allocations: 40.53 kB / 1.132 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.257, allocations: 58.81 kB / 1.132 GB, free: 26.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/1.257, allocations: 21.48 kB / 1.132 GB, free: 26.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00015/1.257, allocations: 132.2 kB / 1.132 GB, free: 26.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.257, allocations: 0 / 1.132 GB, free: 26.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009182/1.258, allocations: 217.4 kB / 1.132 GB, free: 26.48 MB / 0.698 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.0007506/1.258, allocations: 324.4 kB / 1.133 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009601/1.259, allocations: 313.6 kB / 1.133 GB, free: 26.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.259, allocations: 0 / 1.133 GB, free: 26.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004294/1.26, allocations: 178.9 kB / 1.133 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/1.26, allocations: 40.52 kB / 1.133 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/1.262, allocations: 0.6451 MB / 1.134 GB, free: 25.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/1.262, allocations: 0.76 MB / 1.135 GB, free: 25.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004385/1.263, allocations: 50.36 kB / 1.135 GB, free: 25.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/1.263, allocations: 48.2 kB / 1.135 GB, free: 25.17 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/1.263, allocations: 0 / 1.135 GB, free: 25.17 MB / 0.698 GB Notification: Performance of Templates: time 0.0129/1.276, allocations: 4.706 MB / 1.139 GB, free: 23.2 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)