Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.255/2.255, 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.00135/0.00135, allocations: 191.1 kB / 499.1 MB, free: 4.684 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.578/1.578, allocations: 222.9 MB / 0.7948 GB, free: 15.75 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.001166/0.001166, allocations: 114.8 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 49.25 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2879, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001759/0.2897, allocations: 0.9573 MB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.2919, allocations: 2.526 MB / 1.222 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.292, allocations: 0 / 1.222 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.292, allocations: 7.875 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.2922, allocations: 47.72 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.2929, allocations: 418.9 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.2931, allocations: 307.1 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.2932, allocations: 13.67 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2933, allocations: 127.6 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.2935, allocations: 143.5 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.2935, allocations: 19.94 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.294, allocations: 303.7 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.294, allocations: 55.84 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.375e-05/0.2941, allocations: 107.5 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.2946, allocations: 0.5281 MB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2946, allocations: 0 / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2946, allocations: 4 kB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2946, allocations: 0 / 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.001111/0.2957, allocations: 0.6692 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2958, allocations: 15.98 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.2959, allocations: 24.73 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.296, allocations: 199.5 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.2961, allocations: 127.4 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.2961, allocations: 20.38 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.2964, allocations: 244.7 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2964, allocations: 3.938 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.2964, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.2964, allocations: 8 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.2966, allocations: 115.8 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.2969, allocations: 395.1 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.2981, allocations: 495.3 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.2983, allocations: 158.3 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.2983, allocations: 15.98 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.2987, allocations: 321.4 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.2987, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=40): time 0.0006546/0.2994, allocations: 425.9 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.2994, allocations: 350.1 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.2995, allocations: 159.3 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.2996, allocations: 49.58 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.2996, allocations: 97.03 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/0.2997, allocations: 110.5 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.2998, allocations: 106.2 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.2999, allocations: 330.8 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.3001, allocations: 113.1 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.3004, allocations: 165 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.3008, allocations: 270.4 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3008, allocations: 0 / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005942/0.3014, allocations: 377.2 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3014, allocations: 4 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3014, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3015, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.3018, allocations: 79.88 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3018, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.3021, allocations: 55.56 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.3021, allocations: 23.92 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.0001095/0.3022, allocations: 150.9 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.3023, allocations: 27.73 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.3028, allocations: 363.4 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3028, allocations: 8 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3029, allocations: 4 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3029, allocations: 11.92 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.3031, allocations: 345.1 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3031, allocations: 11.94 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.3034, allocations: 71.91 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3034, allocations: 4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3034, allocations: 19.98 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3034, allocations: 4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3034, allocations: 7.938 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008653/0.3043, allocations: 1.198 MB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.3044, allocations: 148.6 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.3045, allocations: 19.91 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.3047, allocations: 31.97 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.3048, allocations: 51.81 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.3049, allocations: 23.98 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.116e-05/0.3049, allocations: 127.2 kB / 1.231 GB, free: 102.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3049, allocations: 0 / 1.231 GB, free: 102.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005765/0.3055, 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.000455/0.306, allocations: 317.9 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.3065, allocations: 337.8 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3066, allocations: 0 / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.3068, allocations: 203.9 kB / 1.232 GB, free: 101.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3071, allocations: 31.94 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.00107/0.3082, allocations: 0.9224 MB / 1.233 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.3084, allocations: 0.773 MB / 1.234 GB, free: 100 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.3086, allocations: 58.19 kB / 1.234 GB, free: 99.97 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3087, allocations: 47.41 kB / 1.234 GB, free: 99.93 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3087, allocations: 0 / 1.234 GB, free: 99.93 MB / 0.823 GB Notification: Performance of Templates: time 0.007764/0.3165, allocations: 5.48 MB / 1.24 GB, free: 94.47 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)