Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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.007139/0.007139, allocations: 99.16 kB / 15.73 MB, free: 6.012 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.001799/0.001799, allocations: 197 kB / 16.68 MB, free: 5.93 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.528/2.528, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 60.12 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6521/0.6538, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001779/0.6556, allocations: 0.8959 MB / 1.221 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.6584, allocations: 2.463 MB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.6585, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.6585, allocations: 15.8 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.6587, allocations: 63.55 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008819/0.6596, allocations: 494.3 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.66, allocations: 323 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.66, allocations: 9.688 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.6602, allocations: 151.6 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.6604, allocations: 143.5 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.6605, allocations: 24 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006082/0.6611, allocations: 371.7 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.6612, allocations: 75.77 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.6613, allocations: 119.5 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.662, allocations: 0.5487 MB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.662, allocations: 0 / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.662, allocations: 4 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.662, allocations: 0 / 1.226 GB, free: 12.33 MB / 0.9512 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.001319/0.6633, allocations: 0.6752 MB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.6634, allocations: 8.031 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.6634, allocations: 50.73 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.6635, allocations: 24.73 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.6637, allocations: 200.8 kB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.6638, allocations: 127.4 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.6639, allocations: 20.38 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.6642, allocations: 252.2 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.6643, allocations: 0 / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.6643, allocations: 8 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.6643, allocations: 4 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.6645, allocations: 115.7 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.665, allocations: 396.1 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.6663, allocations: 491.3 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.6666, allocations: 162.3 kB / 1.228 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.6666, allocations: 15.86 kB / 1.228 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000433/0.6671, allocations: 323.5 kB / 1.228 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=40): time 1.734e-06/0.6671, allocations: 0 / 1.228 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.0007855/0.6679, allocations: 409.3 kB / 1.229 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/0.668, allocations: 354.6 kB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.6682, allocations: 179.3 kB / 1.229 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.6683, allocations: 37.7 kB / 1.229 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.6683, allocations: 97.12 kB / 1.229 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6684, allocations: 115.1 kB / 1.23 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.6686, allocations: 98.17 kB / 1.23 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6687, allocations: 334.8 kB / 1.23 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.669, allocations: 113 kB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.6693, allocations: 176.9 kB / 1.23 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.6698, allocations: 263.4 kB / 1.231 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.6698, allocations: 3.938 kB / 1.231 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007448/0.6706, allocations: 382.7 kB / 1.231 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6706, allocations: 8 kB / 1.231 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6706, allocations: 0 / 1.231 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.6706, allocations: 4 kB / 1.231 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.671, allocations: 79.88 kB / 1.231 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.671, allocations: 3.938 kB / 1.231 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.6713, allocations: 51.7 kB / 1.231 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.6713, allocations: 20.98 kB / 1.231 GB, free: 6.242 MB / 0.9512 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.0001446/0.6715, allocations: 153.8 kB / 1.231 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.6716, allocations: 27.8 kB / 1.231 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.6722, allocations: 358.6 kB / 1.232 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6722, allocations: 11.98 kB / 1.232 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6722, allocations: 4 kB / 1.232 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6722, allocations: 4 kB / 1.232 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.6726, allocations: 357.1 kB / 1.232 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.6726, allocations: 8 kB / 1.232 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.6729, allocations: 67.91 kB / 1.232 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6729, allocations: 11.94 kB / 1.232 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.673, allocations: 19.98 kB / 1.232 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.673, allocations: 7.938 kB / 1.232 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.673, allocations: 4.188 kB / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.6737, allocations: 0.4901 MB / 1.233 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.6739, allocations: 152.7 kB / 1.233 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.6739, allocations: 20 kB / 1.233 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.6741, allocations: 27.97 kB / 1.233 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.6743, allocations: 55.81 kB / 1.233 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.6743, allocations: 24.23 kB / 1.233 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.131e-05/0.6744, allocations: 119.2 kB / 1.233 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6744, allocations: 0 / 1.233 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004964/0.6749, allocations: 227.2 kB / 1.233 GB, free: 3.988 MB / 0.9512 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.001369/0.6763, allocations: 1.251 MB / 1.234 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006309/0.6769, allocations: 331.6 kB / 1.235 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6769, allocations: 4 kB / 1.235 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.6772, allocations: 187.7 kB / 1.235 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.6775, allocations: 37.98 kB / 1.235 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.681, allocations: 2.772 MB / 1.238 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.6814, allocations: 0.7571 MB / 1.238 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.6816, allocations: 61.05 kB / 1.238 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.6817, allocations: 96.39 kB / 1.238 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.6818, allocations: 4 kB / 1.238 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.169/2.851, allocations: 7.886 MB / 1.246 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/17.44, allocations: 7.844 kB / 1.246 GB, free: 6.512 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)