Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.21/2.21, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 182.5 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.722/2.722, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008862/0.000886, allocations: 81.8 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006328/0.0006329, allocations: 10.62 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2085, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2239/0.4325, allocations: 133.3 MB / 1.03 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.4329, allocations: 75.95 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32: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.05608/0.489, allocations: 10.39 MB / 1.04 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/0.489, allocations: 0 / 1.04 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.489, allocations: 4 kB / 1.04 GB, free: 1.551 MB / 0.6823 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.001993/0.491, allocations: 0.6268 MB / 1.041 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4911, allocations: 12.02 kB / 1.041 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.4912, allocations: 20.75 kB / 1.041 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.4914, allocations: 188 kB / 1.041 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.4916, allocations: 135.2 kB / 1.041 GB, free: 472 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.4917, allocations: 16.38 kB / 1.041 GB, free: 456 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.4923, allocations: 256.2 kB / 1.041 GB, free: 156 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.4923, allocations: 7.875 kB / 1.041 GB, free: 148 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.4924, allocations: 8 kB / 1.041 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4924, allocations: 4 kB / 1.041 GB, free: 136 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.4928, allocations: 111.8 kB / 1.041 GB, free: 24 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.4942, allocations: 0.955 MB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.4968, allocations: 495.1 kB / 1.043 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.4972, allocations: 150.4 kB / 1.043 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.4973, allocations: 15.97 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006705/0.498, allocations: 316.4 kB / 1.043 GB, free: 13.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.667e-06/0.498, allocations: 0 / 1.043 GB, free: 13.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001383/0.4994, allocations: 401.3 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/0.4996, allocations: 350.1 kB / 1.044 GB, free: 13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.4999, allocations: 180.1 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.5, allocations: 37.7 kB / 1.044 GB, free: 12.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.5001, allocations: 108.9 kB / 1.044 GB, free: 12.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.5003, allocations: 114.9 kB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.5003, allocations: 12 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5005, allocations: 338.8 kB / 1.045 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.501, allocations: 105.1 kB / 1.045 GB, free: 12.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.5015, allocations: 172.4 kB / 1.045 GB, free: 11.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.5021, allocations: 119.8 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5021, allocations: 0 / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001338/0.5034, allocations: 373.2 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.5035, allocations: 4 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5035, allocations: 4 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.5035, allocations: 4 kB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/0.5043, allocations: 79.88 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.5043, allocations: 7.938 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.5049, allocations: 55.66 kB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.505, allocations: 19.98 kB / 1.045 GB, free: 11.24 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.0002744/0.5053, allocations: 158.4 kB / 1.046 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.5054, allocations: 27.72 kB / 1.046 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.5066, allocations: 366.9 kB / 1.046 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.5066, allocations: 8.25 kB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.5067, allocations: 4 kB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5067, allocations: 4 kB / 1.046 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.5073, allocations: 357 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.5074, allocations: 8 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.508, allocations: 67.91 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.508, allocations: 8.188 kB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.5081, allocations: 23.92 kB / 1.046 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.5081, allocations: 4 kB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.5081, allocations: 7.938 kB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.5093, allocations: 493.6 kB / 1.047 GB, free: 9.621 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.5096, allocations: 148.5 kB / 1.047 GB, free: 9.457 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/0.5097, allocations: 16 kB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.5102, allocations: 39.97 kB / 1.047 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.5104, allocations: 51.81 kB / 1.047 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.5105, allocations: 27.98 kB / 1.047 GB, free: 9.324 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001691/0.5106, allocations: 127.8 kB / 1.047 GB, free: 9.199 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5107, allocations: 0 / 1.047 GB, free: 9.199 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009766/0.5116, allocations: 219.7 kB / 1.048 GB, free: 8.984 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.000833/0.5125, allocations: 314.5 kB / 1.048 GB, free: 8.664 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.5136, allocations: 312.3 kB / 1.048 GB, free: 8.363 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5136, allocations: 4.188 kB / 1.048 GB, free: 8.359 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005131/0.5142, allocations: 184.6 kB / 1.048 GB, free: 8.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.5146, allocations: 45.86 kB / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.5162, allocations: 0.6322 MB / 1.049 GB, free: 7.449 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.5167, allocations: 0.7652 MB / 1.05 GB, free: 6.656 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004465/0.5171, allocations: 59.67 kB / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.5174, allocations: 39.42 kB / 1.05 GB, free: 6.559 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/0.5174, allocations: 0 / 1.05 GB, free: 6.559 MB / 0.698 GB Notification: Performance of Templates: time 0.01434/0.5317, allocations: 4.698 MB / 1.054 GB, free: 1.867 MB / 0.698 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)