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.00171/0.00171, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002166/0.002166, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.973 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.772/2.772, allocations: 476.7 MB / 0.7707 GB, free: 4.246 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.001992/0.001992, allocations: 70.88 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2896, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003154/0.2928, allocations: 1.653 MB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2941, allocations: 0.6912 MB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.2942, allocations: 4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.2944, allocations: 71.78 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.2947, allocations: 104.3 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.2951, allocations: 100.2 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.2953, allocations: 139.7 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.2954, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.2956, allocations: 75.8 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.2958, allocations: 115.7 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.2958, allocations: 4 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.296, allocations: 91.91 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.2961, allocations: 35.84 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2962, allocations: 55.67 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.2965, allocations: 182.8 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2965, allocations: 0 / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.897e-06/0.2965, allocations: 4 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.2965, allocations: 0 / 1.287 GB, free: 8.414 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.0007874/0.2973, allocations: 407.1 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2973, allocations: 8.031 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.2974, allocations: 34.75 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.2976, allocations: 36.72 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.2979, allocations: 154.2 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2979, allocations: 4.375 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.2979, allocations: 4.375 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.2982, allocations: 124.7 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2982, allocations: 7.938 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2982, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2982, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.2983, allocations: 67.97 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.2989, allocations: 388 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.2991, allocations: 101.1 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2992, allocations: 69.78 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.2992, allocations: 7.938 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.2995, allocations: 178.7 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2995, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005709/0.3001, allocations: 331.3 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.3001, allocations: 106.8 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.3004, allocations: 219.9 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3004, allocations: 37.7 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.3005, allocations: 120.1 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.3005, allocations: 35.73 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.3006, allocations: 25.72 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3008, allocations: 334.8 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3009, allocations: 63.97 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.301, allocations: 73.69 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.3012, allocations: 200.9 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3012, allocations: 256 / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003668/0.3016, allocations: 275.3 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.3016, allocations: 37.69 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3016, allocations: 0 / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3016, allocations: 3.984 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3017, allocations: 12 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3017, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3019, allocations: 19.88 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3019, allocations: 8 kB / 1.29 GB, free: 4.699 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.0001912/0.3021, allocations: 183.4 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.3021, allocations: 19.91 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.3023, allocations: 95.06 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.3023, allocations: 4 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3023, allocations: 0 / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3023, allocations: 0 / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.3025, allocations: 204.5 kB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3025, allocations: 7.938 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.3026, allocations: 15.92 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3026, allocations: 0 / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3026, allocations: 8 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3026, allocations: 0 / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3026, allocations: 0 / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.3031, allocations: 339.1 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.3032, allocations: 39.81 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.3032, allocations: 4 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.3033, allocations: 8 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.3034, allocations: 11.92 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.3034, allocations: 7.984 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001514/0.3035, allocations: 156.5 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3035, allocations: 0 / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002828/0.3038, allocations: 55.86 kB / 1.291 GB, free: 3.469 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.000911/0.3047, allocations: 0.8943 MB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.3051, allocations: 211.5 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3051, allocations: 0 / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.3052, allocations: 135.6 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.3055, allocations: 32 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.3084, allocations: 2.244 MB / 1.294 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3088, allocations: 0.7236 MB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.977e-05/0.3089, allocations: 15.88 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.3089, allocations: 39.42 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/0.3089, allocations: 0 / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.3426, allocations: 3.696 MB / 1.299 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.57, allocations: 4.562 kB / 1.299 GB, free: 11.45 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: 18.00220112106763]