Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004512/0.004512, allocations: 105.4 kB / 15.74 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 62.69 kB / 0.9504 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.228, allocations: 140.4 MB / 1.087 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002415/0.2304, allocations: 1.601 MB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.2314, allocations: 0.6402 MB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.2315, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2316, allocations: 87.77 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.2319, allocations: 103.7 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.2322, allocations: 99.7 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.2323, allocations: 139.6 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.2324, allocations: 11.97 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.2325, allocations: 71.8 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.2327, allocations: 103.7 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2327, allocations: 8 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.2329, allocations: 83.84 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.2329, allocations: 31.91 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.398e-05/0.233, allocations: 59.61 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.2332, allocations: 162.4 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2332, allocations: 4 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2332, allocations: 0 / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2332, allocations: 0 / 1.091 GB, free: 14.91 MB / 0.8575 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.0006232/0.2339, allocations: 481.2 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.2339, allocations: 8.031 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.2339, allocations: 34.75 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.234, allocations: 24.75 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.2342, allocations: 223.6 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2342, allocations: 384 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2343, allocations: 4.375 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2344, allocations: 128.3 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.2345, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2345, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2345, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.2346, allocations: 71.91 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.235, allocations: 416.8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.2352, allocations: 117.1 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.2353, allocations: 81.92 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2353, allocations: 7.984 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.2355, allocations: 178.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2355, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004715/0.236, allocations: 323.1 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.2361, allocations: 114.7 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.2363, allocations: 218.6 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2363, allocations: 29.7 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.2364, allocations: 112.1 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.2364, allocations: 35.53 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.2365, allocations: 29.72 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2366, allocations: 330.8 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.2367, allocations: 59.98 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.2368, allocations: 81.67 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.237, allocations: 196.9 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.237, allocations: 256 / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000302/0.2373, allocations: 271.1 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.2373, allocations: 37.69 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2373, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2373, allocations: 7.938 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.957e-05/0.2374, allocations: 12 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2374, allocations: 4 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.373e-05/0.2375, allocations: 8.078 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2376, allocations: 11.94 kB / 1.094 GB, free: 10.99 MB / 0.8575 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.0001372/0.2377, allocations: 180.5 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.2378, allocations: 27.66 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.238, allocations: 99.14 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.238, allocations: 0 / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.238, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.238, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.2382, allocations: 225.5 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2382, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.2382, allocations: 11.98 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2382, allocations: 4 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2383, allocations: 4 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2383, allocations: 4 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.2383, allocations: 3.938 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.2387, allocations: 338 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.2387, allocations: 104.9 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.2388, allocations: 4 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.2389, allocations: 4 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.2389, allocations: 11.98 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.239, allocations: 7.984 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001204/0.2391, allocations: 168.2 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2391, allocations: 0 / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002447/0.2393, allocations: 51.92 kB / 1.095 GB, free: 9.645 MB / 0.8575 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.00069/0.24, allocations: 0.8979 MB / 1.096 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003093/0.2404, allocations: 251.4 kB / 1.096 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2404, allocations: 0 / 1.096 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2405, allocations: 171.3 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2407, allocations: 9.688 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.2429, allocations: 2.232 MB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2431, allocations: 0.7313 MB / 1.099 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.2432, allocations: 4 kB / 1.099 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.2433, allocations: 39.42 kB / 1.099 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2433, allocations: 0 / 1.099 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.2614, allocations: 3.527 MB / 1.103 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.284, allocations: 11.92 kB / 1.103 GB, free: 1.746 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[525]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,decAng.decAng,solDecNOAA.y Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solDecNOAA.y,decAng.weaDatEndTim