Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.223/2.223, allocations: 390.3 MB / 402.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.745/1.745, allocations: 221.3 MB / 0.7915 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009246, allocations: 95.89 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.276e-05/4.278e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3397, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.624, allocations: 150.8 MB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/1.624, allocations: 74.58 kB / 1.366 GB, free: 3.301 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03498/1.659, allocations: 10.51 MB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.283e-06/1.659, allocations: 0 / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.707e-05/1.659, allocations: 4 kB / 1.376 GB, free: 10.39 MB / 0.8386 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.001568/1.661, allocations: 0.6276 MB / 1.377 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.661, allocations: 8.031 kB / 1.377 GB, free: 9.723 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/1.661, allocations: 19.81 kB / 1.377 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/1.661, allocations: 199.4 kB / 1.377 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/1.662, allocations: 129.5 kB / 1.377 GB, free: 9.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/1.662, allocations: 15.81 kB / 1.377 GB, free: 9.309 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/1.662, allocations: 239.7 kB / 1.378 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.662, allocations: 7.938 kB / 1.378 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/1.662, allocations: 7.625 kB / 1.378 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.662, allocations: 4 kB / 1.378 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/1.662, allocations: 112.2 kB / 1.378 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/1.663, allocations: 389.7 kB / 1.378 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.664, allocations: 0.4899 MB / 1.379 GB, free: 8.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/1.665, allocations: 153.6 kB / 1.379 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/1.665, allocations: 11.94 kB / 1.379 GB, free: 7.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/1.665, allocations: 309.1 kB / 1.379 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 4.539e-06/1.665, allocations: 0 / 1.379 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0007182/1.666, allocations: 325.8 kB / 1.379 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001941/1.666, allocations: 349.1 kB / 1.38 GB, free: 6.863 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/1.666, allocations: 155.5 kB / 1.38 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/1.666, allocations: 42.88 kB / 1.38 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/1.666, allocations: 92.2 kB / 1.38 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/1.667, allocations: 107.5 kB / 1.38 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/1.667, allocations: 8.875 kB / 1.38 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.667, allocations: 340.5 kB / 1.38 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/1.667, allocations: 108.5 kB / 1.38 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/1.667, allocations: 150.7 kB / 1.381 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/1.667, allocations: 110.3 kB / 1.381 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.667, allocations: 7.938 kB / 1.381 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006166/1.668, allocations: 358.7 kB / 1.381 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.668, allocations: 4 kB / 1.381 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.668, allocations: 0 / 1.381 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.668, allocations: 4 kB / 1.381 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/1.668, allocations: 79.25 kB / 1.381 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.669, allocations: 3.938 kB / 1.381 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/1.669, allocations: 62.59 kB / 1.381 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/1.669, allocations: 19.67 kB / 1.381 GB, free: 5.465 MB / 0.8386 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 () * 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.0001331/1.669, allocations: 138.5 kB / 1.381 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/1.669, allocations: 23.72 kB / 1.381 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007175/1.67, allocations: 362.7 kB / 1.382 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.67, allocations: 8.188 kB / 1.382 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.67, allocations: 4.5 kB / 1.382 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.67, allocations: 11.97 kB / 1.382 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/1.67, allocations: 350.7 kB / 1.382 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.67, allocations: 4 kB / 1.382 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/1.671, allocations: 79.16 kB / 1.382 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.671, allocations: 4 kB / 1.382 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/1.671, allocations: 18.48 kB / 1.382 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/1.671, allocations: 7.938 kB / 1.382 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.671, allocations: 8 kB / 1.382 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007976/1.672, allocations: 0.5988 MB / 1.383 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/1.672, allocations: 154.9 kB / 1.383 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/1.672, allocations: 14.81 kB / 1.383 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/1.672, allocations: 42.72 kB / 1.383 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.672, allocations: 46.44 kB / 1.383 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/1.672, allocations: 27.25 kB / 1.383 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001044/1.672, allocations: 121.1 kB / 1.383 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.672, allocations: 0 / 1.383 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007761/1.673, allocations: 229.7 kB / 1.383 GB, free: 3.367 MB / 0.8386 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) * 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.0008267/1.674, allocations: 333.8 kB / 1.384 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006013/1.675, allocations: 315.1 kB / 1.384 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.675, allocations: 0 / 1.384 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/1.675, allocations: 182.7 kB / 1.384 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/1.675, allocations: 23.92 kB / 1.384 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/1.676, allocations: 438.1 kB / 1.385 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/1.676, allocations: 0.765 MB / 1.385 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002441/1.677, allocations: 55.97 kB / 1.385 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.677, allocations: 45.91 kB / 1.385 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.677, allocations: 0 / 1.385 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of Templates: time 0.01004/1.687, allocations: 4.828 MB / 1.39 GB, free: 12.57 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches