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.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.0008019/0.0008019, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008233/0.0008233, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8642/0.8642, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.756/1.756, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.613e-06/1.613e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.281e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002046/0.002068, allocations: 1.604 MB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000789/0.002857, allocations: 0.6387 MB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.002913, allocations: 0 / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.003048, allocations: 79.75 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.00327, allocations: 103.5 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.003535, allocations: 115.6 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.003668, allocations: 131.6 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.588e-05/0.003744, allocations: 11.98 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.003914, allocations: 87.84 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.004045, allocations: 115.8 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.004065, allocations: 8 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.004167, allocations: 75.94 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.004222, allocations: 39.83 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.00427, allocations: 31.92 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.004464, allocations: 203.4 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004466, allocations: 4 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004467, allocations: 0 / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.004471, allocations: 0 / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005043/0.004975, allocations: 417.3 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.005012, allocations: 12.75 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.005039, allocations: 34.75 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.005144, allocations: 28.78 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.005322, allocations: 163 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.005333, allocations: 4.375 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.005347, allocations: 8.375 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.005518, allocations: 153.6 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.005525, allocations: 192 / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.005538, allocations: 12.11 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005543, allocations: 3.938 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.574e-05/0.005639, allocations: 101.7 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.006062, allocations: 376.1 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.00621, allocations: 146.9 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.006284, allocations: 107.5 kB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.006302, allocations: 0 / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.006489, allocations: 215.3 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.00649, allocations: 0 / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0004994/0.006989, allocations: 406.6 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.007035, allocations: 114.7 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.007157, allocations: 215.2 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.007172, allocations: 29.7 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.007221, allocations: 120.4 kB / 1.005 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.007248, allocations: 35.72 kB / 1.005 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.007288, allocations: 37.66 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.007361, allocations: 334.8 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.007432, allocations: 97.67 kB / 1.006 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.007506, allocations: 119.4 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.007641, allocations: 197.3 kB / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007644, allocations: 3.938 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002184/0.007862, allocations: 312.9 kB / 1.006 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.00789, allocations: 43.25 kB / 1.006 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.007894, allocations: 0 / 1.006 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.007905, allocations: 8 kB / 1.006 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.00797, allocations: 19.92 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.007974, allocations: 0 / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.008027, allocations: 11.88 kB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.008038, allocations: 8 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (decAng.k,$PRE.decAng.k,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 (12): * Single equations (assignments): 11 * 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 9.757e-05/0.008136, allocations: 179.5 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.008155, allocations: 23.84 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.008289, allocations: 103.1 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.008291, allocations: 8 kB / 1.007 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.008294, allocations: 0 / 1.007 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008298, allocations: 3.984 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.008409, allocations: 184.7 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.00841, allocations: 0 / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.008439, allocations: 15.92 kB / 1.007 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.00844, allocations: 96 / 1.007 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.00845, allocations: 8 kB / 1.007 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.008452, allocations: 4 kB / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.008454, allocations: 3.984 kB / 1.007 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.008709, allocations: 387.1 kB / 1.007 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.008752, allocations: 31.89 kB / 1.007 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.008771, allocations: 4 kB / 1.007 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.008819, allocations: 11.98 kB / 1.007 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.008856, allocations: 7.984 kB / 1.007 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.008869, allocations: 4 kB / 1.007 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.141e-05/0.00895, allocations: 160.5 kB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00895, allocations: 0 / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001635/0.009114, allocations: 47.94 kB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,decAng.tNext,decAng.k,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 8 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.k,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0004754/0.009589, allocations: 0.9405 MB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.00981, allocations: 282.7 kB / 1.009 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.009812, allocations: 0 / 1.009 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.009911, allocations: 176.9 kB / 1.009 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.01006, allocations: 15.98 kB / 1.009 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.01175, allocations: 2.445 MB / 1.011 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.707e-05/0.01182, allocations: 114.2 kB / 1.012 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.01185, allocations: 4.734 kB / 1.012 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.0119, allocations: 48.48 kB / 1.012 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of SimCode: time 4.1e-07/0.0119, allocations: 0 / 1.012 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.02927, allocations: 4.317 MB / 1.016 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.417/6.446, allocations: 11.56 kB / 1.016 GB, free: 12.44 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.42446297314018]