Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001328/0.001328, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001463/0.001463, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.449/1.449, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.093/3.093, allocations: 0.49 GB / 0.7916 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_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.001992/0.001992, allocations: 63.69 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3479, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003567/0.3515, allocations: 1.625 MB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3529, allocations: 0.6817 MB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.3529, allocations: 7.938 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.3531, allocations: 83.75 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.3534, allocations: 103.6 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.3538, allocations: 105.9 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.354, allocations: 127.7 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.35e-05/0.3541, allocations: 8 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.3543, allocations: 79.72 kB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.3545, allocations: 115.7 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3545, allocations: 4 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.3547, allocations: 91.92 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/0.3547, allocations: 23.92 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.3548, allocations: 63.59 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3551, allocations: 175.5 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3551, allocations: 0 / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3551, allocations: 4 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3551, allocations: 0 / 1.324 GB, free: 40 kB / 1.014 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.0008894/0.356, allocations: 488.3 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3561, allocations: 15.92 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/0.3561, allocations: 42.73 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.3564, allocations: 20.84 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.3568, allocations: 216.1 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3568, allocations: 384 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.3568, allocations: 4.375 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.3571, allocations: 135.4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3571, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.3571, allocations: 7.984 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3571, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.3573, allocations: 67.97 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.3578, allocations: 412.9 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.358, allocations: 101.2 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3581, allocations: 69.78 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3581, allocations: 4 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.3584, allocations: 174.7 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.3584, allocations: 4 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005986/0.359, allocations: 339 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.3591, allocations: 110.8 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.3593, allocations: 218.6 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3594, allocations: 29.7 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.3594, allocations: 120 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.3595, allocations: 31.73 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.3596, allocations: 29.72 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3597, allocations: 334.8 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.3598, allocations: 55.98 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.3599, allocations: 88.42 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.3602, allocations: 193.3 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3602, allocations: 0 / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003695/0.3605, allocations: 267.2 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.3606, allocations: 37.69 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3606, allocations: 0 / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3606, allocations: 4 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3607, allocations: 12 kB / 1.327 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3607, allocations: 7.938 kB / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3608, allocations: 15.88 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3608, allocations: 8 kB / 1.327 GB, free: 12.12 MB / 1.029 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.0001831/0.361, allocations: 180.1 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3611, allocations: 19.91 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.3613, allocations: 95.06 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3613, allocations: 0 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3613, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3613, allocations: 4.078 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.3615, allocations: 233.5 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3615, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.3616, allocations: 15.92 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3616, allocations: 4.094 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3616, allocations: 11.94 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3616, allocations: 0 / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3616, allocations: 3.938 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.3621, allocations: 339.4 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3622, allocations: 112.9 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3622, allocations: 4.125 kB / 1.328 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.3623, allocations: 8 kB / 1.328 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.3623, allocations: 11.98 kB / 1.328 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.3624, allocations: 8 kB / 1.328 GB, free: 10.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001577/0.3625, allocations: 163 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3625, allocations: 0 / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002872/0.3628, allocations: 47.92 kB / 1.329 GB, free: 10.76 MB / 1.029 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.0008678/0.3637, allocations: 0.8987 MB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.364, allocations: 215.3 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.364, allocations: 4 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.3642, allocations: 131.4 kB / 1.33 GB, free: 9.457 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.3644, allocations: 18.44 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.367, allocations: 2.235 MB / 1.332 GB, free: 7.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.3674, allocations: 0.7292 MB / 1.333 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.28e-05/0.3674, allocations: 4 kB / 1.333 GB, free: 6.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.3675, allocations: 39.42 kB / 1.333 GB, free: 6.305 MB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/0.3675, allocations: 0 / 1.333 GB, free: 6.305 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.3963, allocations: 3.55 MB / 1.336 GB, free: 2.906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.731, allocations: 0 / 1.336 GB, free: 2.906 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.263254981022328]