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.001553/0.001553, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001747/0.001747, allocations: 212.8 kB / 22.25 MB, free: 4.855 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.816 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.108/3.108, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 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.002149/0.002149, allocations: 73.45 kB / 1.153 GB, free: 25.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3098, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003295/0.3131, allocations: 1.618 MB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3144, allocations: 0.6388 MB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.3145, allocations: 0 / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.3146, allocations: 67.84 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.3149, allocations: 115.6 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.3153, allocations: 99.75 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.3155, allocations: 123.7 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.3156, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.3158, allocations: 79.73 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.316, allocations: 115.7 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.3161, allocations: 8 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.3162, allocations: 83.86 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.3163, allocations: 31.91 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.886e-05/0.3164, allocations: 47.67 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.3167, allocations: 179.6 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3167, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3167, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3167, allocations: 3.938 kB / 1.328 GB, free: 15.19 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.0007619/0.3175, allocations: 416.4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3175, allocations: 12.03 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.3176, allocations: 38.75 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.3177, allocations: 28.78 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.3181, allocations: 154.6 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3181, allocations: 4.375 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.3181, allocations: 8.375 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.3184, allocations: 156.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3184, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3184, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3184, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.3186, allocations: 117.6 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.3191, allocations: 364.1 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3194, allocations: 138.8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3195, allocations: 99.53 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.3195, allocations: 3.984 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003226/0.3199, allocations: 204.4 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.3199, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006576/0.3205, allocations: 398.7 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.3206, allocations: 114.8 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3208, allocations: 210.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3208, allocations: 37.69 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.3209, allocations: 112.1 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.321, allocations: 31.75 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.321, allocations: 33.7 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3212, allocations: 326.8 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3213, allocations: 93.67 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3215, allocations: 121.7 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.3217, allocations: 193.1 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3217, allocations: 0 / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000401/0.3221, allocations: 309 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/0.3221, allocations: 41.69 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3221, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3222, allocations: 3.984 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3223, allocations: 15.98 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3223, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3224, allocations: 19.89 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3224, allocations: 4 kB / 1.332 GB, free: 11.11 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.0001902/0.3226, allocations: 184.3 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.3226, allocations: 19.91 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.3229, allocations: 103.4 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3229, allocations: 0 / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3229, allocations: 4 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3229, allocations: 0 / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.3231, allocations: 196.6 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3231, allocations: 0 / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.3232, allocations: 11.98 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3232, allocations: 4 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3232, allocations: 4 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3232, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3232, allocations: 4 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.3237, allocations: 377.1 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.3238, allocations: 31.81 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.3238, allocations: 8 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3239, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.324, allocations: 15.97 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.324, allocations: 8 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000156/0.3242, allocations: 171.9 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3242, allocations: 0 / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002678/0.3244, allocations: 43.88 kB / 1.333 GB, free: 9.84 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.0009583/0.3254, allocations: 0.9424 MB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.3258, allocations: 278.6 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3258, allocations: 0 / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.326, allocations: 173.1 kB / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.3262, allocations: 16.31 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.3291, allocations: 2.402 MB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.3292, allocations: 115.1 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.693e-05/0.3292, allocations: 4 kB / 1.337 GB, free: 5.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/0.3293, allocations: 43.42 kB / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.3293, allocations: 0 / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.3632, allocations: 4.116 MB / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.52, allocations: 15.17 kB / 1.341 GB, free: 1.668 MB / 1.029 GB " [Timeout remaining time 288] (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.910625592339784]