Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,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_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,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_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001237/0.001237, allocations: 183.4 kB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009744/0.0009741, allocations: 104.5 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/3.036e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2878, allocations: 142.3 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8907/1.178, allocations: 149.3 MB / 1.352 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.179, allocations: 69.14 kB / 1.352 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03191/1.211, allocations: 10.49 MB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/1.211, allocations: 3.938 kB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.211, allocations: 3.875 kB / 1.362 GB, free: 33.57 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.0015/1.212, allocations: 0.6169 MB / 1.363 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.212, allocations: 11.69 kB / 1.363 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/1.212, allocations: 19.16 kB / 1.363 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/1.213, allocations: 190.5 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/1.213, allocations: 13.56 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/1.213, allocations: 15.5 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002201/1.213, allocations: 86.42 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/1.213, allocations: 222.6 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.213, allocations: 3.938 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/1.213, allocations: 3.781 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.213, allocations: 3.969 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/1.214, allocations: 353 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/1.215, allocations: 468.8 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/1.215, allocations: 154.4 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/1.215, allocations: 9.828 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/1.215, allocations: 298.3 kB / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/1.215, allocations: 0 / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.002424/1.218, allocations: 0.5315 MB / 1.365 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/1.218, allocations: 345.1 kB / 1.365 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/1.218, allocations: 153.3 kB / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/1.218, allocations: 35.44 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/1.218, allocations: 91.58 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.335e-05/1.218, allocations: 108.5 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/1.218, allocations: 3.844 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.219, allocations: 330 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/1.219, allocations: 95.64 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/1.219, allocations: 155.2 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/1.222, allocations: 0.4999 MB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.222, allocations: 0 / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003365/1.225, allocations: 0.7142 MB / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.225, allocations: 7.75 kB / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.225, allocations: 0 / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.225, allocations: 3.875 kB / 1.367 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/1.226, allocations: 65.44 kB / 1.367 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.226, allocations: 10.31 kB / 1.367 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/1.226, allocations: 56.17 kB / 1.368 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/1.226, allocations: 21.88 kB / 1.368 GB, free: 30.68 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): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0001675/1.226, allocations: 118.7 kB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/1.226, allocations: 27.05 kB / 1.368 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/1.227, allocations: 338.4 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/1.227, allocations: 14.8 kB / 1.368 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.227, allocations: 3.844 kB / 1.368 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/1.227, allocations: 6.938 kB / 1.368 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/1.227, allocations: 292.2 kB / 1.368 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.227, allocations: 0 / 1.368 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/1.228, allocations: 77.83 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.228, allocations: 3.875 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/1.228, allocations: 21.7 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.228, allocations: 3.812 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.228, allocations: 7.016 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/1.23, allocations: 0.8128 MB / 1.369 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/1.23, allocations: 146 kB / 1.369 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/1.23, allocations: 6.203 kB / 1.369 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/1.231, allocations: 41.88 kB / 1.369 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.231, allocations: 45.81 kB / 1.369 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/1.231, allocations: 25.19 kB / 1.369 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.732e-05/1.231, allocations: 120.9 kB / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.231, allocations: 4 kB / 1.37 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007265/1.232, allocations: 208.9 kB / 1.37 GB, free: 29.65 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.0007084/1.232, allocations: 333.5 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001739/1.234, allocations: 2.986 MB / 1.373 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.234, allocations: 3.938 kB / 1.373 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/1.234, allocations: 166.4 kB / 1.373 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/1.235, allocations: 14.36 kB / 1.373 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/1.235, allocations: 409.4 kB / 1.374 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/1.236, allocations: 0.7642 MB / 1.374 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002099/1.236, allocations: 50.25 kB / 1.374 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/1.236, allocations: 42.83 kB / 1.374 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.236, allocations: 0 / 1.374 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of Templates: time 0.008438/1.244, allocations: 4.839 MB / 1.379 GB, free: 25.35 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches