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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 113.3 kB / 16.37 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.001651/0.001651, allocations: 193.8 kB / 17.3 MB, free: 5.613 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.37/2.37, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.31 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00254/0.2838, allocations: 1.605 MB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2848, allocations: 0.6403 MB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.2849, allocations: 0 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.285, allocations: 79.81 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.2853, allocations: 107.7 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.2856, allocations: 103.4 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.2858, allocations: 135.7 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.688e-05/0.2859, allocations: 8 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.286, allocations: 79.72 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.2862, allocations: 103.8 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.2862, allocations: 11.94 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.2863, allocations: 75.94 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.2864, allocations: 31.91 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.2865, allocations: 59.59 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2867, allocations: 171.4 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2867, allocations: 0 / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2867, allocations: 0 / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2867, allocations: 3.938 kB / 1.022 GB, free: 6.625 MB / 0.795 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.0006124/0.2873, allocations: 476.4 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.2874, allocations: 8.625 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.2874, allocations: 20.75 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.2876, allocations: 217.5 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2876, allocations: 4.375 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.2877, allocations: 4.375 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.2879, allocations: 127.6 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2879, allocations: 0 / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2879, allocations: 0 / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2879, allocations: 0 / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.288, allocations: 75.95 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.2884, allocations: 408.9 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.2886, allocations: 113.2 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.2887, allocations: 85.72 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.2887, allocations: 7.984 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.289, allocations: 170.7 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.289, allocations: 0 / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005119/0.2895, allocations: 339.2 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.2896, allocations: 106.8 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.2897, allocations: 218.5 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2898, allocations: 29.7 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.2898, allocations: 116.1 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.2899, allocations: 27.56 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.2899, allocations: 33.64 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.29, allocations: 334.8 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.2901, allocations: 63.92 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.2902, allocations: 79.8 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.2904, allocations: 197.1 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2904, allocations: 0 / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000303/0.2907, allocations: 271 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.2908, allocations: 33.7 kB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2908, allocations: 0 / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2908, allocations: 0 / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.2909, allocations: 19.92 kB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2909, allocations: 0 / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.762e-05/0.291, allocations: 8.312 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.291, allocations: 15.98 kB / 1.025 GB, free: 2.77 MB / 0.795 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.0001266/0.2912, allocations: 176.1 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.2912, allocations: 23.81 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.2914, allocations: 91.02 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2914, allocations: 4 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2914, allocations: 0 / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2914, allocations: 7.984 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.2916, allocations: 241.4 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2916, allocations: 0 / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.2917, allocations: 11.98 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2917, allocations: 0 / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.2917, allocations: 8 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2917, allocations: 0 / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2917, allocations: 0 / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.2921, allocations: 343.3 kB / 1.026 GB, free: 1.789 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.2922, allocations: 100.9 kB / 1.026 GB, free: 1.672 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.2922, allocations: 7.984 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.2923, allocations: 7.938 kB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.2924, allocations: 15.98 kB / 1.026 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.2924, allocations: 4.094 kB / 1.026 GB, free: 1.637 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001222/0.2925, allocations: 171.9 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2926, allocations: 0 / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002456/0.2928, allocations: 44 kB / 1.027 GB, free: 1.426 MB / 0.795 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.0001616/0.293, allocations: 131.2 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.2933, allocations: 251.2 kB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2933, allocations: 0 / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2935, allocations: 163.5 kB / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.2937, allocations: 18.36 kB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.2942, allocations: 344.5 kB / 1.027 GB, free: 484 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2945, allocations: 0.7246 MB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.083e-05/0.2946, allocations: 7.984 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.2946, allocations: 15.44 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of SimCode: time 5.31e-07/0.2946, allocations: 0 / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.004365/0.299, allocations: 1.664 MB / 1.03 GB, free: 14.05 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/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) Reference file matches