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.001313/0.001313, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001661/0.001661, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.13 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.382/2.382, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.2 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.28, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002611/0.2826, allocations: 1.604 MB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2837, allocations: 0.6557 MB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.2838, allocations: 0 / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.2839, allocations: 71.81 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.2842, allocations: 107.7 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.2846, allocations: 96.27 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.2848, allocations: 139.6 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.2849, allocations: 7.984 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.285, allocations: 75.73 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.2852, allocations: 107.8 kB / 1.022 GB, free: 6.984 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2852, allocations: 4 kB / 1.022 GB, free: 6.98 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2854, allocations: 79.92 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.2854, allocations: 35.84 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.2855, allocations: 55.61 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.2857, allocations: 167.5 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2858, allocations: 0 / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2858, allocations: 0 / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2858, allocations: 0 / 1.022 GB, free: 6.648 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.0007157/0.2865, allocations: 480.4 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2865, allocations: 16.86 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.2866, allocations: 16.75 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.2868, allocations: 213.5 kB / 1.023 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2869, allocations: 4.375 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.2869, allocations: 4.375 kB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2871, allocations: 132.3 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2871, allocations: 4 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2872, allocations: 4 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2872, allocations: 0 / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2873, allocations: 71.95 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.2877, allocations: 404.9 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.2879, allocations: 125.1 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.288, allocations: 81.78 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.288, allocations: 0 / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.2883, allocations: 174.6 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2883, allocations: 0 / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005445/0.2888, allocations: 335 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.2889, allocations: 110.8 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.2891, allocations: 214.5 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2891, allocations: 29.7 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.2892, allocations: 112.1 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.2892, allocations: 31.7 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.2893, allocations: 33.7 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.2894, allocations: 330.8 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.2895, allocations: 63.97 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.2896, allocations: 81.62 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.2898, allocations: 193 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2898, allocations: 0 / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003045/0.2901, allocations: 271 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.2901, allocations: 40.52 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2902, allocations: 0 / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2902, allocations: 4 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2903, allocations: 15.98 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2903, allocations: 4 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.2904, allocations: 7.938 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2905, allocations: 7.984 kB / 1.025 GB, free: 2.789 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.0001461/0.2906, allocations: 180.1 kB / 1.026 GB, free: 2.598 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.2906, allocations: 24.11 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.2908, allocations: 103.2 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2909, allocations: 0 / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2909, allocations: 4 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2909, allocations: 0 / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.2911, allocations: 237.3 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2911, allocations: 0 / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.2911, allocations: 15.94 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2911, allocations: 4 kB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2912, allocations: 7.984 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2912, allocations: 0 / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2912, allocations: 4 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.2916, allocations: 336.7 kB / 1.026 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.2917, allocations: 100.9 kB / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.2917, allocations: 8.172 kB / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.2918, allocations: 11.94 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.2919, allocations: 11.92 kB / 1.026 GB, free: 1.652 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.2919, allocations: 8 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001292/0.2921, allocations: 172 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2921, allocations: 0 / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002653/0.2923, allocations: 40 kB / 1.027 GB, free: 1.438 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.0001856/0.2925, allocations: 137.6 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.2929, allocations: 243.3 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2929, allocations: 0 / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.293, allocations: 163.3 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.2933, allocations: 19.86 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.2938, allocations: 336.5 kB / 1.027 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.2941, allocations: 0.7322 MB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.2942, allocations: 8 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.2942, allocations: 11.44 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2942, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of Templates: time 0.004372/0.2986, allocations: 1.654 MB / 1.03 GB, free: 14.08 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 cvode -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