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.00134/0.00134, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001466/0.001466, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.797 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.687/2.687, allocations: 476 MB / 0.7699 GB, free: 4.742 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",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.001993/0.001993, allocations: 67.52 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3004, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002824/0.3032, allocations: 1.626 MB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3044, allocations: 0.625 MB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.3045, allocations: 4 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.3046, allocations: 71.81 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.3049, allocations: 103.7 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.3052, allocations: 109.6 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3054, allocations: 127.7 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.463e-05/0.3055, allocations: 11.98 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.3057, allocations: 75.8 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3058, allocations: 107.7 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3059, allocations: 8 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.306, allocations: 83.92 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.3061, allocations: 35.86 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.3061, allocations: 39.72 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.3064, allocations: 181 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3064, allocations: 0 / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.377e-06/0.3064, allocations: 4 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3064, allocations: 3.938 kB / 1.286 GB, free: 9.246 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.0006736/0.3071, allocations: 411 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3071, allocations: 8.031 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.3072, allocations: 38.73 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3073, allocations: 28.8 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.3076, allocations: 158.2 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3076, allocations: 4.375 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3076, allocations: 4.375 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.3078, allocations: 161.1 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.3079, allocations: 3.984 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3079, allocations: 4 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3079, allocations: 0 / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.308, allocations: 97.67 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.3085, allocations: 368 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.3087, allocations: 134.9 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.3088, allocations: 107.4 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3088, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.3091, allocations: 204.5 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.3091, allocations: 0 / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005884/0.3097, allocations: 406.6 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.3098, allocations: 110.8 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.31, allocations: 219.9 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.31, allocations: 25.7 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.3101, allocations: 120.1 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.3101, allocations: 43.69 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.3102, allocations: 21.72 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3103, allocations: 338.8 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.3105, allocations: 93.61 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3106, allocations: 107.6 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.3108, allocations: 209 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3108, allocations: 0 / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003799/0.3112, allocations: 304.9 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.3112, allocations: 41.69 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3112, allocations: 0 / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3113, allocations: 4 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.3114, allocations: 15.94 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3114, allocations: 0 / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3115, allocations: 15.88 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.3115, allocations: 12 kB / 1.289 GB, free: 5.152 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.0001612/0.3116, allocations: 179.4 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3117, allocations: 15.91 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.3119, allocations: 103 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3119, allocations: 4.094 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3119, allocations: 3.984 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3119, allocations: 4 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.3121, allocations: 188.6 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3121, allocations: 0 / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.3121, allocations: 8 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3122, allocations: 4 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3122, allocations: 4 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3122, allocations: 11.92 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3122, allocations: 0 / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.3127, allocations: 370.3 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.3127, allocations: 35.83 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.3128, allocations: 11.98 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.3129, allocations: 8 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.3129, allocations: 11.97 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3129, allocations: 8 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001485/0.3131, allocations: 160.5 kB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3131, allocations: 0 / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002563/0.3133, allocations: 43.94 kB / 1.29 GB, free: 3.898 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.0008553/0.3142, allocations: 0.9251 MB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.3146, allocations: 282.6 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3146, allocations: 0 / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3148, allocations: 173 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.315, allocations: 12 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.3176, allocations: 2.424 MB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.3178, allocations: 118.1 kB / 1.294 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.3178, allocations: 11.92 kB / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.3179, allocations: 39.42 kB / 1.294 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.3179, allocations: 0 / 1.294 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.3482, allocations: 4.128 MB / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.25, allocations: 17.11 kB / 1.298 GB, free: 11.71 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] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.507921956013888]