Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001582/0.001582, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002086/0.002086, allocations: 218.5 kB / 22.25 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.1/3.1, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_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.001927/0.001927, allocations: 67.67 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3284, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002931/0.3313, allocations: 1.614 MB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3326, allocations: 0.631 MB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.3327, allocations: 4 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.3329, allocations: 79.77 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.3333, allocations: 107.7 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.3337, allocations: 97.52 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.3339, allocations: 135.6 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.334, allocations: 15.97 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.3343, allocations: 71.86 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3345, allocations: 107.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.3345, allocations: 11.94 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3347, allocations: 87.92 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.3348, allocations: 35.84 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/0.3348, allocations: 35.73 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.3351, allocations: 179.5 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.3351, allocations: 11.98 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3351, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3351, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 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.0008562/0.336, allocations: 415 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.336, allocations: 8.031 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.3361, allocations: 42.73 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.3363, allocations: 24.8 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3366, allocations: 166.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3366, allocations: 4.375 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.3366, allocations: 8.375 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.3369, allocations: 157.2 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3369, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.3369, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3369, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.3371, allocations: 97.61 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.3376, allocations: 372 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.3378, allocations: 134.8 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.338, allocations: 103.5 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.338, allocations: 4 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.3383, allocations: 204.4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.3383, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.000622/0.3389, allocations: 410.5 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.339, allocations: 106.8 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3392, allocations: 210.8 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3392, allocations: 25.7 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.3393, allocations: 116.1 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.3394, allocations: 47.81 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.3394, allocations: 25.7 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3396, allocations: 338.8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3397, allocations: 89.67 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.3398, allocations: 107.4 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.34, allocations: 205 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.34, allocations: 0 / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003885/0.3404, allocations: 304.9 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.3405, allocations: 41.69 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3405, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3405, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3406, allocations: 12 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3406, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3407, allocations: 20.19 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3407, allocations: 4 kB / 1.333 GB, free: 10.21 MB / 1.029 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.0001705/0.3409, allocations: 188.4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.3409, allocations: 19.91 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.3412, allocations: 103.1 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3412, allocations: 0 / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3412, allocations: 0 / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3412, allocations: 0 / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.3414, allocations: 200.6 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3414, allocations: 0 / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.3414, allocations: 8 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3414, allocations: 3.938 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3414, allocations: 11.98 kB / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3415, allocations: 4 kB / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3415, allocations: 0 / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.3419, allocations: 370.3 kB / 1.333 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.342, allocations: 39.75 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.342, allocations: 4 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3421, allocations: 8 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.3422, allocations: 11.98 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.3422, allocations: 15.92 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001742/0.3424, allocations: 160 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3424, allocations: 4 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002829/0.3427, allocations: 51.95 kB / 1.334 GB, free: 8.934 MB / 1.029 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.0008846/0.3435, allocations: 0.9382 MB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.3439, allocations: 274.7 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.344, allocations: 0 / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.3441, allocations: 173 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.3444, allocations: 19.98 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.3472, allocations: 2.398 MB / 1.337 GB, free: 4.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3474, allocations: 111.9 kB / 1.338 GB, free: 4.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.761e-05/0.3474, allocations: 11.98 kB / 1.338 GB, free: 4.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.3475, allocations: 39.42 kB / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3475, allocations: 0 / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.3785, allocations: 4.154 MB / 1.342 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.27, allocations: 13.12 kB / 1.342 GB, free: 0.7344 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.735185033991]