Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009999/0.001, allocations: 93.22 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.218e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2393, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7554/0.9948, allocations: 132.7 MB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.9951, allocations: 73.64 kB / 1.022 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03436/1.029, allocations: 10.37 MB / 1.032 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.494e-06/1.03, allocations: 3.938 kB / 1.032 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.451e-05/1.03, allocations: 4 kB / 1.032 GB, free: 9.289 MB / 0.6511 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.001534/1.031, allocations: 0.6238 MB / 1.032 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.031, allocations: 8.031 kB / 1.032 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/1.031, allocations: 45.42 kB / 1.032 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/1.031, allocations: 19.81 kB / 1.032 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/1.031, allocations: 193.1 kB / 1.033 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/1.032, allocations: 133.4 kB / 1.033 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/1.032, allocations: 18.25 kB / 1.033 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/1.032, allocations: 232.5 kB / 1.033 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.032, allocations: 0 / 1.033 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/1.032, allocations: 7.188 kB / 1.033 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.032, allocations: 4 kB / 1.033 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/1.032, allocations: 114.9 kB / 1.033 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/1.033, allocations: 388 kB / 1.033 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/1.034, allocations: 0.4913 MB / 1.034 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/1.035, allocations: 156.7 kB / 1.034 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/1.035, allocations: 11.94 kB / 1.034 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/1.035, allocations: 312.1 kB / 1.034 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/1.035, allocations: 0 / 1.034 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.0006741/1.036, allocations: 319.6 kB / 1.035 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/1.036, allocations: 353.3 kB / 1.035 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/1.036, allocations: 153.9 kB / 1.035 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/1.036, allocations: 47.5 kB / 1.035 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/1.036, allocations: 95.98 kB / 1.035 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/1.036, allocations: 106.4 kB / 1.035 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/1.036, allocations: 5.688 kB / 1.035 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.037, allocations: 336.5 kB / 1.036 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/1.037, allocations: 104 kB / 1.036 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/1.037, allocations: 160.4 kB / 1.036 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/1.037, allocations: 113.1 kB / 1.036 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.037, allocations: 0 / 1.036 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006072/1.038, allocations: 362.1 kB / 1.036 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.038, allocations: 4 kB / 1.036 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.038, allocations: 0.5469 kB / 1.036 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.038, allocations: 4 kB / 1.036 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/1.038, allocations: 79.38 kB / 1.036 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.038, allocations: 4 kB / 1.036 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/1.039, allocations: 58.36 kB / 1.037 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/1.039, allocations: 23.34 kB / 1.037 GB, free: 4.336 MB / 0.6511 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001367/1.039, allocations: 133.4 kB / 1.037 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/1.039, allocations: 23.91 kB / 1.037 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007036/1.04, allocations: 364.4 kB / 1.037 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.04, allocations: 8 kB / 1.037 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.04, allocations: 4 kB / 1.037 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/1.04, allocations: 7.984 kB / 1.037 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/1.04, allocations: 350.9 kB / 1.037 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.04, allocations: 7.984 kB / 1.037 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/1.04, allocations: 75.66 kB / 1.037 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/1.04, allocations: 4 kB / 1.037 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/1.04, allocations: 26.17 kB / 1.037 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/1.04, allocations: 4 kB / 1.037 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.041, allocations: 4 kB / 1.037 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/1.041, allocations: 0.5945 MB / 1.038 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.041, allocations: 159.2 kB / 1.038 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/1.042, allocations: 15.5 kB / 1.038 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/1.042, allocations: 43.59 kB / 1.038 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.042, allocations: 46.44 kB / 1.038 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/1.042, allocations: 31.36 kB / 1.038 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.859e-05/1.042, allocations: 131.2 kB / 1.038 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.042, allocations: 0 / 1.038 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008018/1.043, allocations: 233.5 kB / 1.039 GB, free: 2.227 MB / 0.6511 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00192/1.045, allocations: 2.12 MB / 1.041 GB, free: 116 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005792/1.045, allocations: 310.1 kB / 1.041 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.045, allocations: 0 / 1.041 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/1.046, allocations: 183 kB / 1.041 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/1.046, allocations: 22.98 kB / 1.041 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/1.047, allocations: 0.5834 MB / 1.042 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/1.047, allocations: 0.7689 MB / 1.043 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002326/1.048, allocations: 58.14 kB / 1.043 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.048, allocations: 90.41 kB / 1.043 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of SimCode: time 2.3e-07/1.048, allocations: 0 / 1.043 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/1.068, allocations: 7.166 MB / 1.05 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.068, allocations: 183.3 kB / 1.05 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/3.025, allocations: 4.062 kB / 1.05 GB, free: 7.059 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)