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.0008001/0.0008001, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008734/0.0008734, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9064/0.9064, allocations: 177.2 MB / 202.8 MB, free: 5.547 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.846/1.846, allocations: 389.1 MB / 0.6331 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 177] 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.603e-06/1.603e-06, allocations: 0 / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.052e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002335/0.002356, allocations: 1.595 MB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003367, allocations: 0.6464 MB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.003445, allocations: 4 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.003612, allocations: 79.75 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.003923, allocations: 102.4 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.004397, allocations: 111.7 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.00465, allocations: 127.7 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.004769, allocations: 15.97 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.00505, allocations: 95.72 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.005243, allocations: 111.8 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.005272, allocations: 4 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.005453, allocations: 91.84 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.005537, allocations: 31.92 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.00561, allocations: 35.84 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.005895, allocations: 199.4 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.005902, allocations: 4 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/0.005904, allocations: 0 / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.00591, allocations: 4 kB / 1.003 GB, free: 10.27 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.0006911/0.006601, allocations: 411 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.006645, allocations: 12.75 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.00668, allocations: 34.75 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.00682, allocations: 28.78 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.007109, allocations: 153.5 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.007127, allocations: 8.375 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.007143, allocations: 4.375 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.007361, allocations: 153.6 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.007371, allocations: 4.188 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.007387, allocations: 8.109 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.007393, allocations: 3.984 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.007511, allocations: 105.6 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.008243, allocations: 376 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.008437, allocations: 146.7 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.008526, allocations: 111.5 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.008553, allocations: 0 / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.008811, allocations: 212.4 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/0.008814, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0004941/0.009308, allocations: 414.6 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.009376, allocations: 118.7 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.009542, allocations: 204.4 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.009563, allocations: 33.7 kB / 1.005 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.009627, allocations: 116.4 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.009664, allocations: 35.73 kB / 1.005 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.009722, allocations: 33.7 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.00982, allocations: 330.8 kB / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.009921, allocations: 97.67 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.01002, allocations: 111.4 kB / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.0102, allocations: 205.2 kB / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01021, allocations: 3.938 kB / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002911/0.0105, allocations: 320.8 kB / 1.006 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.01054, allocations: 41.69 kB / 1.006 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01054, allocations: 0 / 1.006 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01056, allocations: 4 kB / 1.006 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.01065, allocations: 15.98 kB / 1.006 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01066, allocations: 4 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.01073, allocations: 7.938 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.01075, allocations: 11.98 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 0.000132/0.01088, allocations: 179.4 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.0109, allocations: 23.84 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.01111, allocations: 95.14 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.01111, allocations: 4 kB / 1.007 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01112, allocations: 4 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.01112, allocations: 3.984 kB / 1.007 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.01128, allocations: 188.6 kB / 1.007 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01128, allocations: 4.031 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.01132, allocations: 15.92 kB / 1.007 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.01133, allocations: 3.984 kB / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.01134, allocations: 8 kB / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01135, allocations: 0 / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01135, allocations: 7.938 kB / 1.007 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.01168, allocations: 377 kB / 1.007 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.01174, allocations: 23.89 kB / 1.007 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.01176, allocations: 8.25 kB / 1.007 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.01183, allocations: 19.98 kB / 1.007 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.01187, allocations: 7.984 kB / 1.007 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.01189, allocations: 8 kB / 1.007 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001026/0.01199, allocations: 160.8 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01199, allocations: 0 / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002116/0.0122, allocations: 47.94 kB / 1.008 GB, free: 4.848 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.0006677/0.01287, allocations: 0.9408 MB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.01319, allocations: 286.7 kB / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01319, allocations: 0 / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.01331, allocations: 177 kB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01353, allocations: 15.98 kB / 1.009 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.01601, allocations: 2.441 MB / 1.011 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.752e-05/0.0161, allocations: 122.2 kB / 1.012 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.992e-05/0.01615, allocations: 4.734 kB / 1.012 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.01622, allocations: 44.48 kB / 1.012 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of SimCode: time 1.633e-06/0.01622, allocations: 0 / 1.012 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.03869, allocations: 4.312 MB / 1.016 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/6.753, allocations: 19.81 kB / 1.016 GB, free: 12.43 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.csv","/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: 11.162458184175193]