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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",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.216/2.216, allocations: 391.2 MB / 407 MB, free: 10.87 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.001452/0.001452, allocations: 196.9 kB / 499.1 MB, free: 4.688 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.562/1.562, allocations: 222.9 MB / 0.7948 GB, free: 15.83 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.001193/0.001193, allocations: 109.8 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 52.52 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2912, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001899/0.2932, allocations: 0.9612 MB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.2956, allocations: 2.53 MB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.2957, allocations: 0 / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.242e-05/0.2958, allocations: 7.875 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.296, allocations: 43.73 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.2967, allocations: 414.1 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.2969, allocations: 307.1 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/0.297, allocations: 21.66 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.2971, allocations: 135.6 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2973, allocations: 143.5 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.2973, allocations: 16 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.2977, allocations: 303.7 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.2978, allocations: 51.86 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.2979, allocations: 111.5 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.2985, allocations: 0.5318 MB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2985, allocations: 0 / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2985, allocations: 0 / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.2986, allocations: 4 kB / 1.224 GB, free: 111.7 MB / 0.823 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.001218/0.2998, allocations: 0.6644 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2998, allocations: 15.98 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.2999, allocations: 24.73 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3, allocations: 195.5 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.3002, allocations: 127.4 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.3002, allocations: 20.38 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.3005, allocations: 244.7 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3006, allocations: 3.938 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3006, allocations: 8 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3006, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.3008, allocations: 115.8 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.3011, allocations: 395.1 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.3023, allocations: 495.2 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3025, allocations: 166.3 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.3026, allocations: 15.91 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/0.303, allocations: 317.5 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.303, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=40): time 0.0006842/0.3037, allocations: 417 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/0.3038, allocations: 358 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3039, allocations: 159.8 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.3039, allocations: 41.7 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.304, allocations: 109 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.3041, allocations: 106.5 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3042, allocations: 102.1 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.3042, allocations: 330.8 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.3045, allocations: 113.1 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.3047, allocations: 173 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.3052, allocations: 259.1 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3052, allocations: 0 / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006015/0.3058, allocations: 383.2 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3058, allocations: 5.406 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3058, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3058, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.3062, allocations: 79.88 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3062, allocations: 7.938 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.3065, allocations: 47.56 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.3065, allocations: 19.98 kB / 1.229 GB, free: 105.7 MB / 0.823 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.3066, allocations: 159.6 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.3067, allocations: 27.73 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/0.3073, allocations: 359 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3073, allocations: 8 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3073, allocations: 16 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3073, allocations: 7.984 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.3076, allocations: 345.1 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3076, allocations: 7.938 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.3078, allocations: 67.91 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3079, allocations: 8 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.3079, allocations: 19.98 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.3079, allocations: 4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3079, allocations: 7.938 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.3088, allocations: 1.194 MB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3089, allocations: 148.6 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.309, allocations: 19.91 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.3092, allocations: 23.97 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.3093, allocations: 59.81 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.3093, allocations: 27.98 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.3094, allocations: 123.2 kB / 1.231 GB, free: 102.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 3e-07/0.3094, allocations: 0 / 1.231 GB, free: 102.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006079/0.31, allocations: 219.7 kB / 1.232 GB, free: 102.7 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000452/0.3105, allocations: 326 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.311, allocations: 341.1 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.311, allocations: 0 / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.3113, allocations: 188.3 kB / 1.232 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3115, allocations: 36.81 kB / 1.232 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009122/0.3125, allocations: 0.9225 MB / 1.233 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.3126, allocations: 0.7731 MB / 1.234 GB, free: 99.98 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.3128, allocations: 54.06 kB / 1.234 GB, free: 99.94 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.313, allocations: 47.41 kB / 1.234 GB, free: 99.89 MB / 0.823 GB Notification: Performance of SimCode: time 1.463e-06/0.313, allocations: 0 / 1.234 GB, free: 99.89 MB / 0.823 GB Notification: Performance of Templates: time 0.007827/0.3208, allocations: 5.481 MB / 1.24 GB, free: 94.43 MB / 0.823 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 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)