Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_10_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.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001083/0.001083, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.38/2.38, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5482, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002039/0.5503, allocations: 0.947 MB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.5532, allocations: 2.541 MB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.5533, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/0.5533, allocations: 7.875 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.5535, allocations: 43.73 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.5544, allocations: 422.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.5547, allocations: 299 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.5547, allocations: 25.67 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.5549, allocations: 127.6 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.5551, allocations: 143.5 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.5551, allocations: 12 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.5556, allocations: 303.7 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.5557, allocations: 67.78 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.5558, allocations: 107.5 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005893/0.5564, allocations: 0.5321 MB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5564, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5564, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.5564, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 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.001407/0.5578, allocations: 0.6646 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.5579, allocations: 8.031 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.5579, allocations: 46.73 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.558, allocations: 20.75 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.5582, allocations: 193.9 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.5584, allocations: 131.3 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.5584, allocations: 20.38 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.5588, allocations: 247.6 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5589, allocations: 3.938 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.5589, allocations: 11.98 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.5589, allocations: 4 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.5592, allocations: 111.8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.5597, allocations: 407 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.561, allocations: 495.3 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.5613, allocations: 158.3 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.5613, allocations: 19.88 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004255/0.5617, allocations: 307.6 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.5618, allocations: 0 / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0007667/0.5625, allocations: 419 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.5627, allocations: 354.1 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.5628, allocations: 173.4 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.5629, allocations: 37.7 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.5629, allocations: 93.14 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.563, allocations: 114.4 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.5631, allocations: 90.23 kB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5632, allocations: 338.8 kB / 1.026 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.5635, allocations: 113.1 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.5638, allocations: 173 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.5643, allocations: 273.6 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5643, allocations: 4 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007164/0.5651, allocations: 381 kB / 1.027 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5651, allocations: 4 kB / 1.027 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5651, allocations: 3.984 kB / 1.027 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5651, allocations: 4 kB / 1.027 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.5655, allocations: 71.89 kB / 1.027 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.5655, allocations: 7.984 kB / 1.027 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.5658, allocations: 47.67 kB / 1.027 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.5658, allocations: 19.98 kB / 1.027 GB, free: 7.145 MB / 0.7794 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.0001329/0.566, allocations: 153.7 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.566, allocations: 31.66 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/0.5667, allocations: 358.1 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.5667, allocations: 8 kB / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5667, allocations: 4 kB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5667, allocations: 3.984 kB / 1.028 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.5671, allocations: 357.4 kB / 1.028 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5671, allocations: 0 / 1.028 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.5673, allocations: 75.91 kB / 1.028 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.5674, allocations: 8 kB / 1.028 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.5674, allocations: 19.98 kB / 1.028 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.5674, allocations: 11.94 kB / 1.028 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5674, allocations: 0 / 1.028 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.5681, allocations: 0.4899 MB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.5682, allocations: 152.7 kB / 1.029 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.5683, allocations: 16 kB / 1.029 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.5685, allocations: 35.97 kB / 1.029 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5686, allocations: 51.86 kB / 1.029 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.5687, allocations: 31.86 kB / 1.029 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.539e-05/0.5688, allocations: 123.2 kB / 1.029 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5688, allocations: 0 / 1.029 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005029/0.5693, allocations: 215.7 kB / 1.03 GB, free: 4.887 MB / 0.7794 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.001266/0.5705, allocations: 1.245 MB / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005786/0.5711, allocations: 319.6 kB / 1.031 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5711, allocations: 0 / 1.031 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.5714, allocations: 199.7 kB / 1.031 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.5717, allocations: 38.92 kB / 1.031 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.575, allocations: 2.834 MB / 1.034 GB, free: 44 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.5753, allocations: 0.7614 MB / 1.035 GB, free: 15.25 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.5755, allocations: 56.19 kB / 1.035 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.5757, allocations: 95.39 kB / 1.035 GB, free: 15.11 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.5757, allocations: 0 / 1.035 GB, free: 15.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.5924, allocations: 7.42 MB / 1.042 GB, free: 7.859 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.5926, allocations: 224.5 kB / 1.042 GB, free: 7.609 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.372, allocations: 0.9844 kB / 1.042 GB, free: 7.609 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)