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.001623/0.001623, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002798/0.002798, allocations: 209.4 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.583/1.583, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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 3.247/3.247, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.73 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3622, allocations: 180.2 MB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003332/0.3655, allocations: 1.64 MB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3669, allocations: 0.6977 MB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.367, allocations: 3.938 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.3671, allocations: 79.83 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3675, allocations: 103.7 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.3679, allocations: 99.77 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.3682, allocations: 135.6 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.3682, allocations: 7.984 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.3685, allocations: 79.73 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.3687, allocations: 111.8 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.3687, allocations: 8 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.3689, allocations: 87.91 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.369, allocations: 35.91 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.3691, allocations: 51.62 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.3694, allocations: 179.6 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3694, allocations: 0 / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3694, allocations: 4 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3694, allocations: 3.938 kB / 1.356 GB, free: 5.184 MB / 1.045 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.0007993/0.3702, allocations: 411 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3703, allocations: 12.03 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.3703, allocations: 38.73 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.3705, allocations: 20.84 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3708, allocations: 154.2 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.3708, allocations: 8.375 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3709, allocations: 4.375 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.3711, allocations: 131.4 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3711, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3711, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3711, allocations: 4 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3713, allocations: 71.95 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.3718, allocations: 387.9 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.372, allocations: 101.2 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3721, allocations: 69.78 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.3721, allocations: 7.938 kB / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/0.3724, allocations: 170.7 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.3724, allocations: 0 / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0006259/0.3731, allocations: 339 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.3732, allocations: 110.8 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.3734, allocations: 218.5 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3734, allocations: 29.7 kB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.3735, allocations: 116.1 kB / 1.358 GB, free: 2.594 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.3735, allocations: 35.83 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.3736, allocations: 33.7 kB / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3737, allocations: 330.8 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.3738, allocations: 59.98 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3739, allocations: 83.31 kB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.3742, allocations: 189.1 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3742, allocations: 4.25 kB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003563/0.3745, allocations: 275.1 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.3746, allocations: 35.73 kB / 1.359 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3746, allocations: 0 / 1.359 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3746, allocations: 0 / 1.359 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3747, allocations: 23.92 kB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3747, allocations: 240 / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3748, allocations: 15.92 kB / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3748, allocations: 4 kB / 1.359 GB, free: 1.473 MB / 1.045 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.0001748/0.375, allocations: 188 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.375, allocations: 19.91 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.3753, allocations: 91.08 kB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3753, allocations: 96 / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3753, allocations: 7.875 kB / 1.36 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3753, allocations: 7.984 kB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.3755, allocations: 200.5 kB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3755, allocations: 96 / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.3756, allocations: 15.98 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3756, allocations: 11.98 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3756, allocations: 0 / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.3756, allocations: 7.984 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3756, allocations: 0 / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.376, allocations: 345.7 kB / 1.36 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.3761, allocations: 27.83 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3761, allocations: 11.92 kB / 1.36 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.3762, allocations: 12 kB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.3763, allocations: 7.984 kB / 1.36 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.3763, allocations: 12 kB / 1.36 GB, free: 444 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001487/0.3765, allocations: 160.2 kB / 1.36 GB, free: 284 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3765, allocations: 0 / 1.36 GB, free: 284 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002707/0.3767, allocations: 51.83 kB / 1.361 GB, free: 232 kB / 1.045 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.0008742/0.3776, allocations: 0.8883 MB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.378, allocations: 219.3 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.378, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.3781, allocations: 127.4 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3783, allocations: 21.67 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.381, allocations: 2.242 MB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3813, allocations: 0.7236 MB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.89e-05/0.3814, allocations: 8 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.3814, allocations: 43.42 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3814, allocations: 0 / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.4136, allocations: 3.703 MB / 1.368 GB, free: 8.211 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.41, allocations: 9.047 kB / 1.368 GB, free: 8.203 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.261292118113488]