Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00191/0.00191, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002403/0.002403, allocations: 214.3 kB / 23.04 MB, free: 5.074 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.762/1.762, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.63/2.63, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_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.001969/0.001969, allocations: 65.77 kB / 1.118 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2855, allocations: 170 MB / 1.284 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00281/0.2883, allocations: 1.648 MB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2895, allocations: 0.695 MB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.2895, allocations: 7.938 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2897, allocations: 67.83 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.29, allocations: 107.7 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.2903, allocations: 101.9 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.2905, allocations: 131.7 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.2906, allocations: 4 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.2908, allocations: 83.73 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.291, allocations: 107.8 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.291, allocations: 8 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.2912, allocations: 91.91 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.2912, allocations: 31.91 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.672e-05/0.2913, allocations: 59.61 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.2916, allocations: 179.5 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2916, allocations: 0 / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2916, allocations: 0 / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2916, allocations: 0 / 1.287 GB, free: 8.332 MB / 0.9825 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.000687/0.2923, allocations: 419 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2923, allocations: 8.031 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.202e-05/0.2923, allocations: 192 / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.2924, allocations: 38.75 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.2925, allocations: 28.78 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.2928, allocations: 146.3 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2928, allocations: 12.36 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2928, allocations: 4.375 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.293, allocations: 127.2 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.293, allocations: 7.984 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2931, allocations: 0 / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.2931, allocations: 0 / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2932, allocations: 67.97 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.2936, allocations: 391.9 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.2938, allocations: 97.17 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.294, allocations: 73.72 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.294, allocations: 4 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.2942, allocations: 178.7 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.2942, allocations: 0 / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005386/0.2948, allocations: 343.2 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.2948, allocations: 106.8 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.2951, allocations: 215.9 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.2951, allocations: 33.7 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.2952, allocations: 120.1 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.2952, allocations: 31.73 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.2953, allocations: 33.7 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2954, allocations: 330.8 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-05/0.2955, allocations: 67.91 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2956, allocations: 76.5 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.2958, allocations: 193 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2958, allocations: 0 / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003382/0.2961, allocations: 267.2 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.2962, allocations: 41.69 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2962, allocations: 0 / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2962, allocations: 0 / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2963, allocations: 19.94 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2963, allocations: 0 / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2964, allocations: 15.88 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2964, allocations: 4 kB / 1.291 GB, free: 4.613 MB / 0.9825 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.0001608/0.2966, allocations: 183.5 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.2966, allocations: 19.91 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.2968, allocations: 103.3 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2968, allocations: 8.078 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2968, allocations: 0 / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2968, allocations: 96 / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.297, allocations: 212.5 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.297, allocations: 0 / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.2971, allocations: 15.94 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2971, allocations: 0 / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2971, allocations: 8 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2971, allocations: 0 / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2971, allocations: 0 / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.2976, allocations: 339.4 kB / 1.292 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.2976, allocations: 35.81 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.2977, allocations: 4 kB / 1.292 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/0.2978, allocations: 8 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2978, allocations: 11.98 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.2978, allocations: 7.984 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001379/0.298, allocations: 164.4 kB / 1.292 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.298, allocations: 0 / 1.292 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002595/0.2982, allocations: 44 kB / 1.292 GB, free: 3.375 MB / 0.9825 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.0008035/0.299, allocations: 0.8994 MB / 1.293 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.2993, allocations: 211.3 kB / 1.293 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2993, allocations: 0 / 1.293 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.2995, allocations: 135.3 kB / 1.293 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.2997, allocations: 18.03 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.3021, allocations: 2.245 MB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3025, allocations: 0.7236 MB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.302e-05/0.3025, allocations: 7.938 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.3026, allocations: 55.34 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3026, allocations: 4 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.3263, allocations: 3.711 MB / 1.3 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.94, allocations: 8.312 kB / 1.3 GB, free: 11.34 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.617056553950533] Failed to read output from testmodel.py, exit status != 0: 11.57665934599936 11.128762384 10.832777181 Calling exit ...