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.000772/0.000772, 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.0008035/0.0008035, 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.8771/0.8771, 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.642/1.642, allocations: 359 MB / 0.6037 GB, free: 11.09 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.663e-06/1.663e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.609e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002167/0.002193, allocations: 1.599 MB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008987/0.003092, allocations: 0.6431 MB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.003158, allocations: 0 / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.003342, allocations: 79.75 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.003618, allocations: 103.6 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.004015, allocations: 111.6 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.004219, allocations: 131.7 kB / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.004349, allocations: 11.97 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.004636, allocations: 95.78 kB / 0.9532 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.00478, allocations: 107.8 kB / 0.9533 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.004802, allocations: 12 kB / 0.9533 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.004971, allocations: 83.86 kB / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.005043, allocations: 35.91 kB / 0.9534 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.005096, allocations: 31.84 kB / 0.9534 GB, free: 476 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.005331, allocations: 199.4 kB / 0.9536 GB, free: 276 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.005334, allocations: 7.938 kB / 0.9536 GB, free: 268 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.823e-06/0.005336, allocations: 3.938 kB / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.005341, allocations: 0 / 0.9536 GB, free: 264 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.0007006/0.006042, allocations: 415 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.006106, allocations: 12.03 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.006149, allocations: 38.75 kB / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.006341, allocations: 28.81 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.006701, allocations: 155.4 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.00673, allocations: 8.375 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.006744, allocations: 4.375 kB / 0.9543 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.006955, allocations: 157.6 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006963, allocations: 192 / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.006976, allocations: 4.125 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.006982, allocations: 3.984 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.007087, allocations: 109.7 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.00751, allocations: 376 kB / 0.9549 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.007675, allocations: 142.8 kB / 0.955 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.007754, allocations: 107.5 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.007774, allocations: 0 / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.007988, allocations: 209.3 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.007989, allocations: 0 / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0003992/0.008388, allocations: 410.7 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.008442, allocations: 118.7 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.008579, allocations: 222.3 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.008595, allocations: 25.7 kB / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.00865, allocations: 116.4 kB / 0.9562 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.008683, allocations: 35.69 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.008731, allocations: 33.7 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.008815, allocations: 330.8 kB / 0.9566 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/0.008893, allocations: 93.67 kB / 0.9567 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.008971, allocations: 115.3 kB / 0.9568 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.009118, allocations: 205 kB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.009122, allocations: 3.938 kB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002422/0.009364, allocations: 316.9 kB / 0.9573 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.009397, allocations: 44.03 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.009402, allocations: 0 / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.009416, allocations: 4 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.009488, allocations: 15.92 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.009494, allocations: 4.312 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.009555, allocations: 15.89 kB / 0.9573 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.009568, allocations: 4 kB / 0.9573 GB, free: 12.1 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.0001081/0.009676, allocations: 185.2 kB / 0.9575 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.009696, allocations: 19.89 kB / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.009858, allocations: 107.2 kB / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.009861, allocations: 4 kB / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.009865, allocations: 3.938 kB / 0.9577 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.009871, allocations: 3.984 kB / 0.9577 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.009998, allocations: 192.6 kB / 0.9578 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01, allocations: 0 / 0.9578 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.01003, allocations: 11.98 kB / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01004, allocations: 3.938 kB / 0.9579 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01005, allocations: 4 kB / 0.9579 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01005, allocations: 8.25 kB / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01005, allocations: 0 / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.01033, allocations: 380.1 kB / 0.9582 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.01038, allocations: 39.84 kB / 0.9583 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.0104, allocations: 8 kB / 0.9583 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.01045, allocations: 7.984 kB / 0.9583 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.0105, allocations: 11.98 kB / 0.9583 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.01051, allocations: 4 kB / 0.9583 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.59e-05/0.0106, allocations: 160.5 kB / 0.9585 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0106, allocations: 0 / 0.9585 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002018/0.0108, allocations: 43.94 kB / 0.9585 GB, free: 10.83 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.0005475/0.01135, allocations: 0.9538 MB / 0.9594 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.0116, allocations: 278.7 kB / 0.9597 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0116, allocations: 0 / 0.9597 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.01171, allocations: 173 kB / 0.9599 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.01188, allocations: 16.09 kB / 0.9599 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.01363, allocations: 2.45 MB / 0.9623 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.069e-05/0.01371, allocations: 114.2 kB / 0.9624 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.837e-05/0.01378, allocations: 4.734 kB / 0.9624 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.01384, allocations: 44.48 kB / 0.9624 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.01384, allocations: 0 / 0.9624 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.03316, allocations: 4.322 MB / 0.9666 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/6.85, allocations: 0 / 0.9666 GB, free: 2.426 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 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.mat","/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.724212674424052]