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.0009043/0.0009042, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005797/0.005797, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.509/2.509, allocations: 437.8 MB / 0.7121 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003552, allocations: 8 kB / 0.873 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.5861, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.0009416/0.5871, allocations: 0.6041 MB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00319/0.5903, allocations: 2.51 MB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.5904, allocations: 3.938 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.5904, allocations: 3.938 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.5907, allocations: 39.69 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5917, allocations: 426.8 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.592, allocations: 303 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.5921, allocations: 21.66 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.5923, allocations: 135.5 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.5926, allocations: 143.5 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/0.5926, allocations: 12 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.5932, allocations: 299.8 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.5932, allocations: 63.78 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.5934, allocations: 141.2 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007013/0.5941, allocations: 0.532 MB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.5941, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5941, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5941, allocations: 0 / 1.028 GB, free: 10.59 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.001275/0.5954, allocations: 0.6295 MB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5954, allocations: 8.031 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.916e-05/0.5955, allocations: 46.73 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.5956, allocations: 24.66 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.5957, allocations: 190.4 kB / 1.029 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.5959, allocations: 135.4 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.5959, allocations: 16.38 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.5963, allocations: 243.7 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5963, allocations: 4 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.5963, allocations: 7.984 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.5964, allocations: 4 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.5966, allocations: 115.7 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.597, allocations: 399 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.5985, allocations: 0.4914 MB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.5987, allocations: 170.3 kB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.5988, allocations: 11.92 kB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.5992, allocations: 315.5 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 2.395e-06/0.5992, allocations: 0 / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0008065/0.6, allocations: 409.6 kB / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/0.6002, allocations: 358.1 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.6004, allocations: 165.9 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.6004, allocations: 49.7 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.6005, allocations: 93.12 kB / 1.032 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.6006, allocations: 114.4 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.6007, allocations: 49.69 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6008, allocations: 326.8 kB / 1.032 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.6011, allocations: 121 kB / 1.033 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.6014, allocations: 173 kB / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.6019, allocations: 259.1 kB / 1.033 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6019, allocations: 0 / 1.033 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007348/0.6027, allocations: 388.3 kB / 1.033 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6027, allocations: 4 kB / 1.033 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6027, allocations: 0 / 1.033 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6027, allocations: 8 kB / 1.033 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.6031, allocations: 79.81 kB / 1.033 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6031, allocations: 4 kB / 1.033 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.6034, allocations: 55.75 kB / 1.033 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.6035, allocations: 19.98 kB / 1.033 GB, free: 4.605 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.0001551/0.6036, allocations: 153.8 kB / 1.034 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.6037, allocations: 31.64 kB / 1.034 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006536/0.6044, allocations: 359.1 kB / 1.034 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6044, allocations: 12.25 kB / 1.034 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6044, allocations: 0 / 1.034 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.6044, allocations: 8 kB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.6048, allocations: 357 kB / 1.034 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.6048, allocations: 0 / 1.034 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.6051, allocations: 75.84 kB / 1.034 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.6051, allocations: 4 kB / 1.034 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.6051, allocations: 19.98 kB / 1.034 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.6051, allocations: 4 kB / 1.034 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6052, allocations: 8 kB / 1.034 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.6058, allocations: 497.7 kB / 1.035 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.606, allocations: 152.5 kB / 1.035 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.6061, allocations: 19.98 kB / 1.035 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.6063, allocations: 43.92 kB / 1.035 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6065, allocations: 47.88 kB / 1.035 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.6065, allocations: 23.98 kB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.828e-05/0.6066, allocations: 123.2 kB / 1.035 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6066, allocations: 0 / 1.035 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005573/0.6072, allocations: 215.7 kB / 1.036 GB, free: 2.352 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.001407/0.6086, allocations: 1.257 MB / 1.037 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006116/0.6092, allocations: 331.5 kB / 1.037 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6092, allocations: 0 / 1.037 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.6095, allocations: 191.6 kB / 1.037 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.6098, allocations: 36.67 kB / 1.037 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.6135, allocations: 2.837 MB / 1.04 GB, free: 13.49 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.6138, allocations: 0.7575 MB / 1.041 GB, free: 12.7 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.614, allocations: 64.61 kB / 1.041 GB, free: 12.65 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.6142, allocations: 91.39 kB / 1.041 GB, free: 12.56 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.6142, allocations: 4 kB / 1.041 GB, free: 12.55 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.6333, allocations: 7.301 MB / 1.048 GB, free: 5.449 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.6336, allocations: 229.5 kB / 1.048 GB, free: 5.195 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.53, allocations: 4 kB / 1.048 GB, free: 5.191 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)