Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.261/2.261, allocations: 391.2 MB / 407 MB, free: 10.82 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.001521/0.001521, allocations: 205.2 kB / 499.1 MB, free: 4.676 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.709/1.709, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.001108/0.001108, allocations: 114 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 52.86 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2955, 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.SunRiseSet): time 0.00216/0.2977, allocations: 0.9469 MB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.3005, allocations: 2.53 MB / 1.222 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.3006, allocations: 7.938 kB / 1.222 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.3007, allocations: 7.922 kB / 1.222 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.3009, allocations: 39.69 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008529/0.3017, allocations: 422.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.302, allocations: 299.1 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.3021, allocations: 21.61 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3022, allocations: 131.6 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.3024, allocations: 147.4 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.3024, allocations: 12 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.3029, allocations: 303.7 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.3029, allocations: 55.86 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.55e-05/0.303, allocations: 115.5 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005907/0.3036, allocations: 0.532 MB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3037, allocations: 0 / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3037, allocations: 0 / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3037, 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.001271/0.305, allocations: 0.6684 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.305, allocations: 15.98 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.431e-05/0.3051, allocations: 20.75 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3052, allocations: 195.5 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.3054, allocations: 131.3 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.3054, allocations: 24.36 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.3057, allocations: 241.2 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3058, allocations: 0 / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3058, allocations: 4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3058, allocations: 7.938 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.306, allocations: 115.8 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.3064, allocations: 403.1 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.3077, allocations: 487.3 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3079, allocations: 170.2 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.3079, allocations: 7.984 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/0.3083, allocations: 329.4 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=40): time 1.694e-06/0.3083, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=40): time 0.0007214/0.3091, allocations: 412.9 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.3092, allocations: 354.6 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3093, allocations: 167.3 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.3094, allocations: 41.69 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.3094, allocations: 97.05 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.3095, allocations: 110.5 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.3096, allocations: 98.12 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.3097, allocations: 334.8 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.31, allocations: 117.1 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.3102, allocations: 165 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.3107, allocations: 267.1 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3107, allocations: 0 / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000593/0.3113, allocations: 376.7 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3113, allocations: 8 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3113, allocations: 0 / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3113, allocations: 4 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.3117, allocations: 79.81 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3117, allocations: 7.984 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.3119, allocations: 56.5 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.312, allocations: 23.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.0001143/0.3121, allocations: 155.1 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.3122, allocations: 23.75 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/0.3127, allocations: 366 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3127, allocations: 12 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3127, allocations: 0 / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3128, allocations: 7.984 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.313, allocations: 345.1 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.313, allocations: 3.938 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.3133, allocations: 79.83 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3133, allocations: 7.938 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.3133, allocations: 20 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3133, allocations: 7.984 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3133, allocations: 7.938 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/0.3142, allocations: 1.186 MB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3143, allocations: 148.6 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.3144, allocations: 19.91 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3146, allocations: 32.22 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.3147, allocations: 55.81 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.3147, allocations: 27.98 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.3148, allocations: 127.2 kB / 1.231 GB, free: 102.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3148, allocations: 0 / 1.231 GB, free: 102.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006006/0.3154, 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.0004559/0.3159, allocations: 329.8 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.3164, allocations: 326 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3164, allocations: 0 / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3166, allocations: 188.1 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.0002545/0.3169, allocations: 39.92 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.0009493/0.3178, 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.0001695/0.318, allocations: 0.7731 MB / 1.234 GB, free: 100 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.3182, allocations: 58.88 kB / 1.234 GB, free: 99.98 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3183, allocations: 43.41 kB / 1.234 GB, free: 99.93 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.3184, allocations: 0 / 1.234 GB, free: 99.93 MB / 0.823 GB Notification: Performance of Templates: time 0.007822/0.3262, allocations: 5.457 MB / 1.239 GB, free: 94.48 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)