Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001085/0.001085, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001057/0.001057, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.298/1.298, 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 11.0.0-master/package.mo): time 2.412/2.412, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 57.89 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2898, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003011/0.2929, allocations: 1.626 MB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.294, allocations: 0.6465 MB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.2941, allocations: 7.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.2943, allocations: 75.81 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.2946, allocations: 95.62 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.295, allocations: 103.8 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.2952, allocations: 131.7 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2953, allocations: 4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.2955, allocations: 75.73 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.2956, allocations: 107.8 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2957, allocations: 8 kB / 1.03 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.2958, allocations: 79.92 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.2959, allocations: 31.92 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.604e-05/0.296, allocations: 59.53 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.2962, allocations: 175.5 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2962, allocations: 0 / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2962, allocations: 0 / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.2963, allocations: 0 / 1.03 GB, free: 14.87 MB / 0.8106 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.0007092/0.297, allocations: 476.4 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.297, allocations: 12.03 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.2971, allocations: 20.69 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.2973, allocations: 208 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2973, allocations: 4.375 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.2974, allocations: 8.375 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.2976, allocations: 130.8 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.2976, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2976, allocations: 4 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2976, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.2978, allocations: 75.91 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.2982, allocations: 408.9 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.2984, allocations: 117.1 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.2985, allocations: 85.78 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.2985, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.2988, allocations: 170.7 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.2988, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005106/0.2993, allocations: 335 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.2994, allocations: 110.8 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2996, allocations: 212.4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2996, allocations: 29.7 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.2997, allocations: 112.3 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.2997, allocations: 39.47 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.2998, allocations: 37.64 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2999, allocations: 330.8 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.3, allocations: 59.97 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.3001, allocations: 80.78 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.3003, allocations: 197.2 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3003, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000344/0.3007, allocations: 267.1 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.3007, allocations: 45.62 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3007, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3007, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3008, allocations: 15.94 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3009, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.301, allocations: 11.98 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.301, allocations: 4 kB / 1.033 GB, free: 11.02 MB / 0.8106 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.0001356/0.3011, allocations: 184.9 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3012, allocations: 15.81 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.3014, allocations: 103.1 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3014, allocations: 4 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3014, allocations: 4 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3014, allocations: 0 / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3016, allocations: 245.3 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3016, allocations: 0 / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.3017, allocations: 8 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3017, allocations: 0 / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3017, allocations: 4.094 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3017, allocations: 3.938 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3017, allocations: 0 / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.3021, allocations: 343.3 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.3022, allocations: 104.9 kB / 1.034 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.3023, allocations: 8.125 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.3024, allocations: 8 kB / 1.034 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.3024, allocations: 11.98 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.3025, allocations: 11.98 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001521/0.3026, allocations: 160.6 kB / 1.034 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3026, allocations: 0 / 1.034 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002658/0.3029, allocations: 51.98 kB / 1.034 GB, free: 9.66 MB / 0.8106 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.0002066/0.3031, allocations: 133.8 kB / 1.035 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.3034, allocations: 243.3 kB / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3034, allocations: 0 / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.3036, allocations: 171.3 kB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.3038, allocations: 12 kB / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.3044, allocations: 340.5 kB / 1.035 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.3047, allocations: 0.7236 MB / 1.036 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.3048, allocations: 7.984 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.3048, allocations: 15.44 kB / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of SimCode: time 1.603e-06/0.3048, allocations: 0 / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of Templates: time 0.004443/0.3092, allocations: 1.654 MB / 1.038 GB, free: 6.301 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches