Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 71.83 kB / 1.059 GB, free: 1.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2582, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00258/0.2608, allocations: 1.623 MB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2619, allocations: 0.659 MB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.2619, allocations: 0 / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.2621, allocations: 79.81 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.2623, allocations: 107.6 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.2627, allocations: 95.78 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.2628, allocations: 127.7 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.588e-05/0.2629, allocations: 7.984 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2631, allocations: 79.73 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.2632, allocations: 115.8 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2632, allocations: 4 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.2634, allocations: 83.86 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.2634, allocations: 31.84 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.2635, allocations: 55.66 kB / 1.219 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.2637, allocations: 167.6 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2637, allocations: 0 / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2637, allocations: 0 / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2637, allocations: 0 / 1.219 GB, free: 12.73 MB / 0.9669 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.0006654/0.2644, allocations: 492.2 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.2644, allocations: 8.031 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.2645, allocations: 38.75 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.2645, allocations: 16.84 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.2648, allocations: 216 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2648, allocations: 8.359 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2648, allocations: 8.375 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.265, allocations: 119.5 kB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.265, allocations: 4 kB / 1.22 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.265, allocations: 7.984 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.265, allocations: 0 / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2651, allocations: 71.91 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.2655, allocations: 404.9 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2657, allocations: 105.1 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.2658, allocations: 73.78 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.2658, allocations: 4 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.2661, allocations: 174.6 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2661, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.000514/0.2666, allocations: 343.3 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.2667, allocations: 118.7 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.2669, allocations: 214.5 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.2669, allocations: 29.7 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.267, allocations: 116.1 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.267, allocations: 27.8 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.2671, allocations: 29.72 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2672, allocations: 334.8 kB / 1.221 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.2673, allocations: 63.92 kB / 1.222 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.2674, allocations: 77.67 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.2676, allocations: 201.2 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2676, allocations: 0 / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003339/0.2679, allocations: 271.1 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.268, allocations: 37.7 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.268, allocations: 0 / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.268, allocations: 3.984 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.2681, allocations: 16 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2681, allocations: 0 / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.2682, allocations: 7.984 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2682, allocations: 4 kB / 1.222 GB, free: 8.832 MB / 0.9669 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.0001508/0.2683, allocations: 185.3 kB / 1.222 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.2684, allocations: 15.91 kB / 1.222 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.2685, allocations: 103 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.2686, allocations: 8.078 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2686, allocations: 4.031 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2686, allocations: 3.984 kB / 1.222 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.2688, allocations: 237.5 kB / 1.223 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2688, allocations: 0 / 1.223 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.2688, allocations: 11.98 kB / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2688, allocations: 0 / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2688, allocations: 4 kB / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2688, allocations: 3.938 kB / 1.223 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2688, allocations: 0 / 1.223 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.2693, allocations: 347.1 kB / 1.223 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.2694, allocations: 112.9 kB / 1.223 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.2694, allocations: 4.125 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.2695, allocations: 12 kB / 1.223 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.2695, allocations: 7.984 kB / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.2695, allocations: 8 kB / 1.223 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001354/0.2697, allocations: 160.5 kB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2697, allocations: 0 / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002482/0.2699, allocations: 51.88 kB / 1.223 GB, free: 7.465 MB / 0.9669 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.000756/0.2707, allocations: 0.8993 MB / 1.224 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.271, allocations: 211.3 kB / 1.224 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.271, allocations: 0 / 1.224 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.2711, allocations: 135.3 kB / 1.225 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.2713, allocations: 15.98 kB / 1.225 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.2736, allocations: 2.241 MB / 1.227 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.274, allocations: 0.7275 MB / 1.227 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.274, allocations: 4 kB / 1.227 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.2741, allocations: 43.42 kB / 1.228 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.2741, allocations: 192 / 1.228 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.2995, allocations: 3.511 MB / 1.231 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.329, allocations: 17.73 kB / 1.231 GB, free: 15.58 MB / 0.9825 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.569400904998474]