Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007669/0.000767, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005435/0.005435, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.088/3.088, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.000409, allocations: 10.44 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3938, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001457/0.3953, allocations: 0.6124 MB / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004274/0.3996, allocations: 2.51 MB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3997, allocations: 0 / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.3998, allocations: 7.875 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.4001, allocations: 43.67 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4012, allocations: 426.8 kB / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.4015, allocations: 295.2 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.4016, allocations: 17.67 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.4018, allocations: 135.5 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.4021, allocations: 147.5 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.4021, allocations: 12 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.4027, allocations: 295.8 kB / 1.079 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.4028, allocations: 63.78 kB / 1.079 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.4029, allocations: 133.2 kB / 1.079 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.4036, allocations: 0.5378 MB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4036, allocations: 0 / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.255e-06/0.4036, allocations: 0 / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.4036, allocations: 0 / 1.079 GB, free: 2.328 MB / 0.8262 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.001502/0.4051, allocations: 0.6256 MB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4052, allocations: 8.031 kB / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.4053, allocations: 20.75 kB / 1.08 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.4055, allocations: 204.6 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.4057, allocations: 135.4 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.4058, allocations: 16.38 kB / 1.08 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.4062, allocations: 244.4 kB / 1.08 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4062, allocations: 4 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.4063, allocations: 11.92 kB / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.4063, allocations: 4 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.4065, allocations: 115.7 kB / 1.081 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.407, allocations: 399.2 kB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.4085, allocations: 499.3 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.4087, allocations: 158.3 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.4087, allocations: 8 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004833/0.4092, allocations: 315.4 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.4092, allocations: 7.938 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.0008156/0.4101, allocations: 413.5 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/0.4103, allocations: 358.1 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.4104, allocations: 159.8 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.4105, allocations: 41.7 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.4105, allocations: 97.05 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.796e-05/0.4106, allocations: 114.5 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.4107, allocations: 45.7 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4108, allocations: 330.8 kB / 1.083 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.4111, allocations: 121 kB / 1.083 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.4114, allocations: 169 kB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.412, allocations: 274.1 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.412, allocations: 0 / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008151/0.4128, allocations: 373.2 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4128, allocations: 5.406 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4128, allocations: 4.734 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4129, allocations: 4 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.4132, allocations: 79.83 kB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.4132, allocations: 7.984 kB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.4135, allocations: 55.67 kB / 1.084 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.4136, allocations: 19.98 kB / 1.084 GB, free: 12.4 MB / 0.8419 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.0001574/0.4137, allocations: 161.7 kB / 1.085 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.4138, allocations: 27.66 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006633/0.4145, allocations: 358.1 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.4145, allocations: 12 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.4145, allocations: 0.6875 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.4145, allocations: 7.984 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.415, allocations: 357 kB / 1.085 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.415, allocations: 3.938 kB / 1.085 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.4152, allocations: 71.91 kB / 1.085 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.4153, allocations: 8 kB / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.4153, allocations: 19.92 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4153, allocations: 4 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4153, allocations: 4 kB / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007849/0.4161, allocations: 497.9 kB / 1.086 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.4163, allocations: 156.5 kB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.4163, allocations: 16 kB / 1.086 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.4166, allocations: 43.97 kB / 1.086 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4167, allocations: 51.81 kB / 1.086 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.4167, allocations: 23.98 kB / 1.086 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.4168, allocations: 127.2 kB / 1.086 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4168, allocations: 0 / 1.086 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005345/0.4174, allocations: 215.7 kB / 1.087 GB, free: 10.15 MB / 0.8419 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.0005544/0.4179, allocations: 333.1 kB / 1.087 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005948/0.4185, allocations: 323 kB / 1.087 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4186, allocations: 0 / 1.087 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.4188, allocations: 192.4 kB / 1.087 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.4191, allocations: 29.38 kB / 1.087 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.4201, allocations: 0.6521 MB / 1.088 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.4204, allocations: 0.7691 MB / 1.089 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002007/0.4206, allocations: 59.19 kB / 1.089 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.4208, allocations: 43.42 kB / 1.089 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.4208, allocations: 0 / 1.089 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of Templates: time 0.008959/0.4297, allocations: 5.256 MB / 1.094 GB, free: 2.43 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)