Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.001617/0.001617, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001963/0.001963, allocations: 218.3 kB / 23.04 MB, free: 5.078 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.217/3.217, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",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.001962/0.001962, allocations: 64.97 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003285/0.3431, allocations: 1.637 MB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3445, allocations: 0.6933 MB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.3446, allocations: 4 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.3448, allocations: 83.75 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.3451, allocations: 103.7 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.3455, allocations: 101.5 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.3458, allocations: 131.6 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.3458, allocations: 7.984 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.3461, allocations: 79.8 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.3463, allocations: 111.7 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.3463, allocations: 8 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.3465, allocations: 91.86 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.3466, allocations: 27.91 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.086e-05/0.3467, allocations: 55.61 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.347, allocations: 183.6 kB / 1.349 GB, free: 13.17 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.347, allocations: 0 / 1.349 GB, free: 13.17 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.793e-06/0.347, allocations: 3.938 kB / 1.349 GB, free: 13.17 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.347, allocations: 0 / 1.349 GB, free: 13.17 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000811/0.3478, allocations: 412.8 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.3478, allocations: 12.03 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.833e-05/0.3478, allocations: 192 / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.3479, allocations: 42.73 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.3481, allocations: 24.84 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.3484, allocations: 161.9 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3484, allocations: 12.3 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.3484, allocations: 4.375 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.3487, allocations: 119.3 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3487, allocations: 3.938 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.3487, allocations: 8 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3487, allocations: 0 / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3488, allocations: 71.95 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.3493, allocations: 372 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3495, allocations: 109.1 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3496, allocations: 77.78 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3496, allocations: 0 / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.3499, allocations: 174.8 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3499, allocations: 0 / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005668/0.3505, allocations: 335 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.3506, allocations: 114.8 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3508, allocations: 222.5 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3508, allocations: 29.64 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.3509, allocations: 112.1 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.3509, allocations: 31.75 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.351, allocations: 29.7 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3512, allocations: 334.8 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3513, allocations: 55.97 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3514, allocations: 81.69 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3516, allocations: 193.3 kB / 1.352 GB, free: 9.816 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3516, allocations: 8 kB / 1.352 GB, free: 9.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003708/0.352, allocations: 275.2 kB / 1.352 GB, free: 9.527 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.352, allocations: 33.7 kB / 1.352 GB, free: 9.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3521, allocations: 4 kB / 1.352 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3521, allocations: 0 / 1.352 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3522, allocations: 15.98 kB / 1.352 GB, free: 9.469 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3522, allocations: 0 / 1.352 GB, free: 9.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3523, allocations: 11.94 kB / 1.352 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.3523, allocations: 7.984 kB / 1.352 GB, free: 9.449 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001773/0.3525, allocations: 190.2 kB / 1.352 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.3525, allocations: 19.89 kB / 1.352 GB, free: 9.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.3527, allocations: 95.16 kB / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.3527, allocations: 4 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3528, allocations: 0 / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3528, allocations: 4 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.353, allocations: 208.5 kB / 1.352 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.353, allocations: 0 / 1.352 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.353, allocations: 11.94 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.353, allocations: 0 / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.3531, allocations: 7.984 kB / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3531, allocations: 0 / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3531, allocations: 0 / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.3535, allocations: 345.5 kB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.3536, allocations: 31.83 kB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.3536, allocations: 8 kB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3537, allocations: 7.984 kB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.3538, allocations: 11.92 kB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.3538, allocations: 12.12 kB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001418/0.3539, allocations: 160.4 kB / 1.353 GB, free: 8.266 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3539, allocations: 0 / 1.353 GB, free: 8.266 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002706/0.3542, allocations: 51.89 kB / 1.353 GB, free: 8.215 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0008711/0.3551, allocations: 0.8921 MB / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.3554, allocations: 207.3 kB / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3554, allocations: 0 / 1.354 GB, free: 7.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.3556, allocations: 143.3 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.3558, allocations: 15.91 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.3584, allocations: 2.237 MB / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3587, allocations: 0.728 MB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.689e-05/0.3588, allocations: 7.984 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.3589, allocations: 43.42 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/0.3589, allocations: 0 / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.3838, allocations: 3.727 MB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.6, allocations: 15.92 kB / 1.361 GB, free: 176 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.260436980985105] Failed to read output from testmodel.py, exit status != 0: 11.764883440977428 11.788759162 11.437219743 Calling exit ...