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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00195/0.00195, allocations: 192.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.1/2.1, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.061/3.061, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 64.7 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3627, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002433/0.3651, allocations: 0.9569 MB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.3684, allocations: 2.482 MB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3685, allocations: 4 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.453e-05/0.3686, allocations: 7.875 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.3688, allocations: 39.67 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.37, allocations: 455.1 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.3704, allocations: 315.1 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.909e-05/0.3705, allocations: 13.62 kB / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.3707, allocations: 139.6 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.371, allocations: 151.5 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.039e-05/0.3711, allocations: 28 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.3717, allocations: 315.7 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.3718, allocations: 71.78 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3719, allocations: 119.5 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.373, allocations: 0.5494 MB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.373, allocations: 0 / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.816e-06/0.373, allocations: 0 / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3731, allocations: 0 / 1.058 GB, free: 3.027 MB / 0.8106 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.001843/0.3749, allocations: 0.6646 MB / 1.059 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.375, allocations: 16.56 kB / 1.059 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.02e-05/0.3751, allocations: 42.73 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.945e-05/0.3752, allocations: 28.66 kB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3753, allocations: 193.5 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.3755, allocations: 123.4 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.3756, allocations: 24.38 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.3759, allocations: 235.7 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.376, allocations: 7.875 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.376, allocations: 12 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.376, allocations: 4 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.3763, allocations: 111.8 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.3768, allocations: 399 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.3782, allocations: 495.3 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.3785, allocations: 154.3 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.3786, allocations: 19.86 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000594/0.3792, allocations: 307.7 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 4.728e-06/0.3792, allocations: 0 / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.0009076/0.3801, allocations: 421.9 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.3803, allocations: 354.1 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3805, allocations: 171.2 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/0.3805, allocations: 41.7 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.3806, allocations: 93.05 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3807, allocations: 114.8 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.3809, allocations: 102.2 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.381, allocations: 326.8 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.3813, allocations: 117 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.3816, allocations: 169 kB / 1.062 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.3822, allocations: 273 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3822, allocations: 0 / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000725/0.3829, allocations: 384.5 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3829, allocations: 4 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.383, allocations: 4 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.383, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.3834, allocations: 79.88 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3834, allocations: 8 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.3837, allocations: 43.66 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.3837, allocations: 19.98 kB / 1.063 GB, free: 12.99 MB / 0.8262 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.0001748/0.3839, allocations: 153.7 kB / 1.063 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.384, allocations: 27.66 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000718/0.3847, allocations: 358.8 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3847, allocations: 8 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3848, allocations: 7.984 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.3848, allocations: 7.938 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.3852, allocations: 357.3 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3852, allocations: 8 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.3855, allocations: 76.09 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.3855, allocations: 4 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.3856, allocations: 19.98 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.3856, allocations: 7.938 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3856, allocations: 7.984 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.3863, allocations: 493.8 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.3865, allocations: 156.5 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.3866, allocations: 16 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3868, allocations: 31.97 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3869, allocations: 51.81 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.387, allocations: 27.92 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001019/0.3871, allocations: 123.8 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3871, allocations: 4 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007053/0.3878, allocations: 219.7 kB / 1.065 GB, free: 10.73 MB / 0.8262 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.001615/0.3894, allocations: 1.232 MB / 1.067 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008116/0.3903, allocations: 357.2 kB / 1.067 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.3903, allocations: 4 kB / 1.067 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.3906, allocations: 191.7 kB / 1.067 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3909, allocations: 31.94 kB / 1.067 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.3948, allocations: 2.836 MB / 1.07 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3951, allocations: 0.7611 MB / 1.071 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002354/0.3954, allocations: 59.3 kB / 1.071 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.3956, allocations: 95.33 kB / 1.071 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/0.3956, allocations: 0 / 1.071 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.416, allocations: 7.585 MB / 1.078 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/0.4163, allocations: 216.3 kB / 1.078 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/3.604, allocations: 0 / 1.078 GB, free: 13.23 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)