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.001277/0.001277, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001512/0.001512, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.793 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.205/3.205, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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: 63.33 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3475, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002876/0.3504, allocations: 1.614 MB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3516, allocations: 0.6282 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.3517, allocations: 7.938 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.3518, allocations: 75.83 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.3521, allocations: 103.7 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.3525, allocations: 110.5 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3527, allocations: 127.7 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.3528, allocations: 4 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.353, allocations: 79.78 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.3531, allocations: 107.8 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.3532, allocations: 8 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3533, allocations: 83.92 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.3534, allocations: 35.84 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.3535, allocations: 47.72 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.3537, allocations: 179.5 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3537, allocations: 3.938 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3537, allocations: 0 / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3537, allocations: 0 / 1.366 GB, free: 10.88 MB / 1.061 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.0006783/0.3544, allocations: 411.1 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3545, allocations: 8.031 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.3545, allocations: 38.75 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.3546, allocations: 24.83 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.3549, allocations: 162 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3549, allocations: 8.375 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3549, allocations: 384 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.3552, allocations: 161.1 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3552, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3552, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3552, allocations: 4 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.3554, allocations: 105.6 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.3558, allocations: 360.1 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.356, allocations: 138.9 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3562, allocations: 111.4 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3562, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.3565, allocations: 200.6 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.3565, allocations: 0 / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006497/0.3571, allocations: 414.4 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.3572, allocations: 110.8 kB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3575, allocations: 215.7 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3575, allocations: 29.64 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.3576, allocations: 116.1 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.3576, allocations: 35.7 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.3577, allocations: 37.64 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3578, allocations: 334.8 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3579, allocations: 89.67 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3581, allocations: 111.4 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.3583, allocations: 193.1 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3583, allocations: 0 / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003936/0.3587, allocations: 308.9 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.3587, allocations: 33.69 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3587, allocations: 4 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3587, allocations: 0 / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3588, allocations: 27.92 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3588, allocations: 0 / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-05/0.3589, allocations: 7.938 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.359, allocations: 4 kB / 1.37 GB, free: 6.801 MB / 1.061 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.0001689/0.3591, allocations: 183.5 kB / 1.37 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.3592, allocations: 19.86 kB / 1.37 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.3594, allocations: 103 kB / 1.37 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3594, allocations: 0 / 1.37 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3594, allocations: 4 kB / 1.37 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3594, allocations: 0 / 1.37 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3596, allocations: 188.6 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3596, allocations: 384 / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.3596, allocations: 11.98 kB / 1.371 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3596, allocations: 96 / 1.371 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3597, allocations: 11.94 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3597, allocations: 0 / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3597, allocations: 4 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.3601, allocations: 381.1 kB / 1.371 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.3602, allocations: 43.86 kB / 1.371 GB, free: 5.766 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.3603, allocations: 8 kB / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.3603, allocations: 7.984 kB / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.3604, allocations: 15.97 kB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3604, allocations: 4 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001501/0.3606, allocations: 163.3 kB / 1.371 GB, free: 5.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3606, allocations: 0 / 1.371 GB, free: 5.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002532/0.3608, allocations: 51.88 kB / 1.371 GB, free: 5.52 MB / 1.061 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.0008427/0.3617, allocations: 0.9198 MB / 1.372 GB, free: 4.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.362, allocations: 282.7 kB / 1.372 GB, free: 4.258 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.362, allocations: 4 kB / 1.372 GB, free: 4.254 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3623, allocations: 169 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.3625, allocations: 10.19 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.3652, allocations: 2.409 MB / 1.375 GB, free: 1.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.3653, allocations: 115.2 kB / 1.375 GB, free: 1.387 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.3653, allocations: 4 kB / 1.375 GB, free: 1.383 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.3654, allocations: 47.42 kB / 1.375 GB, free: 1.336 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.3654, allocations: 0 / 1.375 GB, free: 1.336 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.3958, allocations: 4.131 MB / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 5.609 kB / 1.379 GB, free: 13.36 MB / 1.076 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.390988104976714]