Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.061/3.061, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 61.31 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002034/1.08, allocations: 0.9102 MB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002763/1.083, allocations: 2.589 MB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/1.083, allocations: 0 / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.563e-05/1.083, allocations: 14.2 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/1.083, allocations: 46.16 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/1.084, allocations: 0.4929 MB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/1.084, allocations: 316.4 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/1.085, allocations: 11.92 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/1.085, allocations: 156 kB / 1.345 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/1.085, allocations: 146.2 kB / 1.345 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/1.085, allocations: 23.38 kB / 1.345 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006792/1.086, allocations: 396.8 kB / 1.345 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/1.086, allocations: 70.17 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/1.086, allocations: 118.7 kB / 1.345 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007754/1.087, allocations: 0.5764 MB / 1.346 GB, free: 12.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.087, allocations: 4.453 kB / 1.346 GB, free: 12.94 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/1.087, allocations: 0 / 1.346 GB, free: 12.94 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.087, allocations: 0 / 1.346 GB, free: 12.94 MB / 1.061 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.001288/1.088, allocations: 0.6772 MB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.088, allocations: 11 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.994e-05/1.088, allocations: 6.938 kB / 1.347 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/1.088, allocations: 47.61 kB / 1.347 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.089, allocations: 87.22 kB / 1.347 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/1.089, allocations: 191.1 kB / 1.347 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.089, allocations: 134.2 kB / 1.347 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/1.089, allocations: 20.92 kB / 1.347 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/1.09, allocations: 241.3 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.09, allocations: 1.188 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/1.09, allocations: 3.531 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.09, allocations: 3.938 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/1.09, allocations: 117.3 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/1.09, allocations: 395.2 kB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/1.092, allocations: 490.9 kB / 1.348 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/1.092, allocations: 158.5 kB / 1.348 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/1.092, allocations: 6.031 kB / 1.348 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/1.093, allocations: 326 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/1.093, allocations: 0 / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.0009824/1.094, allocations: 410 kB / 1.349 GB, free: 10.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/1.094, allocations: 356.7 kB / 1.349 GB, free: 10.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/1.094, allocations: 173.6 kB / 1.35 GB, free: 9.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/1.094, allocations: 43.59 kB / 1.35 GB, free: 9.938 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/1.094, allocations: 94.7 kB / 1.35 GB, free: 9.848 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/1.094, allocations: 114.2 kB / 1.35 GB, free: 9.758 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.094, allocations: 95.19 kB / 1.35 GB, free: 9.711 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/1.094, allocations: 335.2 kB / 1.35 GB, free: 9.387 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/1.095, allocations: 112.4 kB / 1.35 GB, free: 9.355 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/1.095, allocations: 175.5 kB / 1.35 GB, free: 9.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/1.095, allocations: 269 kB / 1.351 GB, free: 9.141 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.095, allocations: 3.938 kB / 1.351 GB, free: 9.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008231/1.096, allocations: 379.3 kB / 1.351 GB, free: 8.988 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.096, allocations: 6.016 kB / 1.351 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.096, allocations: 5.031 kB / 1.351 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/1.096, allocations: 3.375 kB / 1.351 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/1.097, allocations: 80.7 kB / 1.351 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.097, allocations: 3.438 kB / 1.351 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/1.097, allocations: 49.31 kB / 1.351 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/1.097, allocations: 20.94 kB / 1.351 GB, free: 8.945 MB / 1.061 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.0001358/1.097, allocations: 157.8 kB / 1.351 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/1.097, allocations: 29.2 kB / 1.351 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/1.098, allocations: 355.6 kB / 1.352 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.098, allocations: 8.719 kB / 1.352 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.098, allocations: 3.125 kB / 1.352 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/1.098, allocations: 6.047 kB / 1.352 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/1.098, allocations: 356.4 kB / 1.352 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.098, allocations: 4.047 kB / 1.352 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/1.099, allocations: 75.2 kB / 1.352 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.099, allocations: 5.781 kB / 1.352 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/1.099, allocations: 18.33 kB / 1.352 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/1.099, allocations: 13.81 kB / 1.352 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.099, allocations: 4.188 kB / 1.352 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/1.099, allocations: 0.4914 MB / 1.353 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/1.1, allocations: 150.2 kB / 1.353 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/1.1, allocations: 20.91 kB / 1.353 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/1.1, allocations: 33.77 kB / 1.353 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.1, allocations: 53.16 kB / 1.353 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/1.1, allocations: 23.34 kB / 1.353 GB, free: 7.852 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001104/1.1, allocations: 130.5 kB / 1.353 GB, free: 7.758 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.1, allocations: 0 / 1.353 GB, free: 7.758 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009838/1.101, allocations: 228.8 kB / 1.353 GB, free: 7.688 MB / 1.061 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.00177/1.103, allocations: 1.263 MB / 1.355 GB, free: 6.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009333/1.104, allocations: 318.1 kB / 1.355 GB, free: 6.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.104, allocations: 1.125 kB / 1.355 GB, free: 6.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/1.104, allocations: 173 kB / 1.355 GB, free: 6.625 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/1.105, allocations: 36.3 kB / 1.355 GB, free: 6.605 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/1.109, allocations: 2.776 MB / 1.358 GB, free: 4.656 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/1.109, allocations: 0.7636 MB / 1.359 GB, free: 3.945 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002069/1.109, allocations: 60.45 kB / 1.359 GB, free: 3.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/1.109, allocations: 94.33 kB / 1.359 GB, free: 3.875 MB / 1.061 GB Notification: Performance of SimCode: time 9.51e-07/1.109, allocations: 1 kB / 1.359 GB, free: 3.875 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/1.139, allocations: 8.173 MB / 1.367 GB, free: 2.938 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.998/10.14, allocations: 8.828 kB / 1.367 GB, free: 2.934 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --stepSize=120.96 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.815653544967063] Failed to read output from testmodel.py, exit status != 0: 10.269899901002645 10.295543296 9.203787314 Calling exit ...