Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009126/0.0009126, 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.001747/0.001747, allocations: 169.9 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.8973/0.8973, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.608/1.608, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.195e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001695/0.001707, allocations: 1.608 MB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.002494, allocations: 0.6431 MB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.002551, allocations: 4 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.002689, allocations: 75.75 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.002926, allocations: 107.6 kB / 0.9528 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.003234, allocations: 114.1 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.003385, allocations: 139.6 kB / 0.9531 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.003461, allocations: 3.984 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.003641, allocations: 99.83 kB / 0.9532 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.003777, allocations: 103.8 kB / 0.9533 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.003796, allocations: 8 kB / 0.9533 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.003902, allocations: 83.91 kB / 0.9534 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.003957, allocations: 39.8 kB / 0.9534 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.004001, allocations: 27.91 kB / 0.9534 GB, free: 448 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.004215, allocations: 203.4 kB / 0.9536 GB, free: 244 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004216, allocations: 3.938 kB / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004217, allocations: 0 / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004221, allocations: 0 / 0.9536 GB, free: 240 kB / 0.9011 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.0005499/0.004771, allocations: 419 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.004807, allocations: 12.03 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.00484, allocations: 38.73 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.00496, allocations: 20.84 kB / 0.9541 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.005142, allocations: 159.3 kB / 0.9543 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.005156, allocations: 12.31 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.005168, allocations: 4.375 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.005346, allocations: 161.5 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.005354, allocations: 192 / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.005366, allocations: 8.125 kB / 0.9544 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.00537, allocations: 0 / 0.9544 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.837e-05/0.005468, allocations: 109.6 kB / 0.9545 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.005854, allocations: 368 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.006009, allocations: 142.8 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.006086, allocations: 107.5 kB / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.006105, allocations: 0 / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.006306, allocations: 208.4 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.006307, allocations: 0 / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0004067/0.006714, allocations: 418.8 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.006769, allocations: 110.8 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.006911, allocations: 222.3 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.006928, allocations: 29.64 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.006982, allocations: 112.4 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.007015, allocations: 39.7 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.007058, allocations: 33.7 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.007144, allocations: 322.8 kB / 0.9566 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.007223, allocations: 101.7 kB / 0.9567 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.007305, allocations: 114 kB / 0.9568 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.007455, allocations: 205 kB / 0.957 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.007458, allocations: 3.938 kB / 0.957 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002604/0.007718, allocations: 320.9 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.007746, allocations: 41.62 kB / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.007752, allocations: 4 kB / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.007764, allocations: 0 / 0.9573 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.007837, allocations: 15.94 kB / 0.9573 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.007844, allocations: 320 / 0.9573 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.007906, allocations: 19.88 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.007918, allocations: 4 kB / 0.9574 GB, free: 12.07 MB / 0.9167 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.0001138/0.008031, allocations: 187.5 kB / 0.9575 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.008052, allocations: 15.91 kB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.008214, allocations: 115.1 kB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.008217, allocations: 0 / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.008223, allocations: 0 / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.008227, allocations: 0 / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.0084, allocations: 196.6 kB / 0.9578 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008401, allocations: 0 / 0.9578 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.00843, allocations: 8 kB / 0.9579 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.008434, allocations: 8 kB / 0.9579 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.008447, allocations: 3.984 kB / 0.9579 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.008452, allocations: 4 kB / 0.9579 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008453, allocations: 0 / 0.9579 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.008762, allocations: 373 kB / 0.9582 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.008816, allocations: 35.83 kB / 0.9583 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.008844, allocations: 8 kB / 0.9583 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.726e-05/0.008891, allocations: 4 kB / 0.9583 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.008943, allocations: 7.984 kB / 0.9583 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.008962, allocations: 12.23 kB / 0.9583 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.414e-05/0.009056, allocations: 160.5 kB / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009056, allocations: 4 kB / 0.9584 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001956/0.009252, allocations: 43.92 kB / 0.9585 GB, free: 10.81 MB / 0.9167 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.0006155/0.009867, allocations: 0.9443 MB / 0.9594 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.01013, allocations: 290.7 kB / 0.9597 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01014, allocations: 0 / 0.9597 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.01025, allocations: 177 kB / 0.9599 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.01041, allocations: 13.55 kB / 0.9599 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.01231, allocations: 2.451 MB / 0.9623 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.0124, allocations: 114.2 kB / 0.9624 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.01244, allocations: 8.719 kB / 0.9624 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.0125, allocations: 44.67 kB / 0.9624 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of SimCode: time 1.102e-06/0.0125, allocations: 0 / 0.9624 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.02873, allocations: 4.316 MB / 0.9666 GB, free: 2.406 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.018, allocations: 0 / 0.9666 GB, free: 2.406 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.992792471311986]