Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.91 kB / 1.134 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00257/1.005, allocations: 1.605 MB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001015/1.006, allocations: 0.6519 MB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/1.006, allocations: 2.844 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/1.006, allocations: 80.14 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000263/1.006, allocations: 103.6 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/1.007, allocations: 98.11 kB / 1.306 GB, free: 30.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000164/1.007, allocations: 124.6 kB / 1.307 GB, free: 30.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/1.007, allocations: 12.61 kB / 1.307 GB, free: 30.44 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/1.007, allocations: 73.27 kB / 1.307 GB, free: 30.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/1.007, allocations: 113.4 kB / 1.307 GB, free: 30.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/1.007, allocations: 5.594 kB / 1.307 GB, free: 30.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/1.007, allocations: 82.83 kB / 1.307 GB, free: 30.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/1.007, allocations: 35.81 kB / 1.307 GB, free: 30.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/1.007, allocations: 61.08 kB / 1.307 GB, free: 30.31 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/1.008, allocations: 169.4 kB / 1.307 GB, free: 30.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.008, allocations: 2.562 kB / 1.307 GB, free: 30.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/1.008, allocations: 0 / 1.307 GB, free: 30.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.008, allocations: 0 / 1.307 GB, free: 30.25 MB / 1.061 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.0006229/1.008, allocations: 484.8 kB / 1.308 GB, free: 29.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.008, allocations: 8.875 kB / 1.308 GB, free: 29.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/1.008, allocations: 37.69 kB / 1.308 GB, free: 29.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/1.008, allocations: 18.62 kB / 1.308 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/1.009, allocations: 223.1 kB / 1.308 GB, free: 29.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.009, allocations: 6.578 kB / 1.308 GB, free: 29.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/1.009, allocations: 3.375 kB / 1.308 GB, free: 29.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/1.009, allocations: 129.4 kB / 1.308 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.009, allocations: 0 / 1.308 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/1.009, allocations: 0 / 1.308 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.009, allocations: 2.75 kB / 1.308 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/1.009, allocations: 81.03 kB / 1.308 GB, free: 29.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/1.009, allocations: 404.9 kB / 1.308 GB, free: 29.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/1.009, allocations: 105.2 kB / 1.309 GB, free: 28.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/1.009, allocations: 73.62 kB / 1.309 GB, free: 28.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.009, allocations: 0 / 1.309 GB, free: 28.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/1.01, allocations: 174.8 kB / 1.309 GB, free: 28.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/1.01, allocations: 0 / 1.309 GB, free: 28.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.000443/1.01, allocations: 347.6 kB / 1.309 GB, free: 28.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/1.01, allocations: 105.7 kB / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/1.01, allocations: 217.3 kB / 1.309 GB, free: 28.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/1.01, allocations: 33.64 kB / 1.309 GB, free: 28.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/1.01, allocations: 112.1 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/1.01, allocations: 36.61 kB / 1.31 GB, free: 28.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/1.01, allocations: 29.7 kB / 1.31 GB, free: 28.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.313e-05/1.011, allocations: 330.9 kB / 1.31 GB, free: 27.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/1.011, allocations: 63.06 kB / 1.31 GB, free: 27.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/1.011, allocations: 77.2 kB / 1.31 GB, free: 27.83 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/1.011, allocations: 197.5 kB / 1.31 GB, free: 27.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.011, allocations: 0 / 1.31 GB, free: 27.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002585/1.011, allocations: 266.8 kB / 1.31 GB, free: 27.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.011, allocations: 37.23 kB / 1.311 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.011, allocations: 0 / 1.311 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.011, allocations: 2.75 kB / 1.311 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.744e-05/1.011, allocations: 16.12 kB / 1.311 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.011, allocations: 6.984 kB / 1.311 GB, free: 27.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.46e-05/1.011, allocations: 17.8 kB / 1.311 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/1.011, allocations: 6.344 kB / 1.311 GB, free: 27.54 MB / 1.061 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.0001094/1.011, allocations: 185.8 kB / 1.311 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/1.012, allocations: 16.53 kB / 1.311 GB, free: 27.37 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/1.012, allocations: 94.75 kB / 1.311 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.012, allocations: 3.156 kB / 1.311 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.012, allocations: 0 / 1.311 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.012, allocations: 4 kB / 1.311 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/1.012, allocations: 238 kB / 1.311 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.012, allocations: 0 / 1.311 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/1.012, allocations: 13.33 kB / 1.311 GB, free: 27.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.012, allocations: 3.938 kB / 1.311 GB, free: 27.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/1.012, allocations: 7.812 kB / 1.311 GB, free: 27.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.012, allocations: 6.719 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.012, allocations: 3.938 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/1.012, allocations: 332 kB / 1.311 GB, free: 26.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/1.012, allocations: 109.8 kB / 1.312 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/1.012, allocations: 4.562 kB / 1.312 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/1.012, allocations: 8.531 kB / 1.312 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/1.012, allocations: 9.719 kB / 1.312 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/1.013, allocations: 5.344 kB / 1.312 GB, free: 26.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.583e-05/1.013, allocations: 167.3 kB / 1.312 GB, free: 26.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.013, allocations: 3.938 kB / 1.312 GB, free: 26.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002424/1.013, allocations: 51.69 kB / 1.312 GB, free: 26.67 MB / 1.061 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.0005507/1.013, allocations: 0.8915 MB / 1.313 GB, free: 25.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002617/1.014, allocations: 211.6 kB / 1.313 GB, free: 25.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.014, allocations: 4 kB / 1.313 GB, free: 25.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/1.014, allocations: 135.3 kB / 1.313 GB, free: 25.78 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/1.014, allocations: 9.312 kB / 1.313 GB, free: 25.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/1.016, allocations: 2.243 MB / 1.315 GB, free: 24.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/1.016, allocations: 0.7307 MB / 1.316 GB, free: 23.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.842e-05/1.016, allocations: 6.609 kB / 1.316 GB, free: 23.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/1.016, allocations: 40.16 kB / 1.316 GB, free: 23.5 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/1.016, allocations: 0 / 1.316 GB, free: 23.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/1.045, allocations: 3.554 MB / 1.319 GB, free: 22.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/9.065, allocations: 2.625 kB / 1.319 GB, free: 22.96 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.225490389857441]