Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 191.4 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000919/0.0009188, allocations: 98.27 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004138, allocations: 9.5 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2911, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.4696, allocations: 133.2 MB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4699, allocations: 79.95 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009068/0.4789, allocations: 3.231 MB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/0.479, allocations: 0 / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.479, allocations: 4 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005885/0.4796, allocations: 452.3 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.4797, allocations: 12.03 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.4797, allocations: 15.8 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.4801, allocations: 215.6 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.4801, allocations: 4 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.4801, allocations: 4 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.4804, allocations: 139.3 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4804, allocations: 3.938 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.4804, allocations: 4 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4805, allocations: 4 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.4806, allocations: 75.89 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.4812, allocations: 406.8 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.4814, allocations: 113.1 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.4814, allocations: 3.984 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.4817, allocations: 174.8 kB / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.4817, allocations: 0 / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0007729/0.4825, allocations: 466.2 kB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.4826, allocations: 106.8 kB / 1.035 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.4828, allocations: 182.3 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.4828, allocations: 33.69 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.4829, allocations: 108.1 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.483, allocations: 23.64 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.483, allocations: 4 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.4832, allocations: 326.8 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4834, allocations: 76.08 kB / 1.036 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.4835, allocations: 89.61 kB / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.4838, allocations: 93.67 kB / 1.036 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4838, allocations: 0 / 1.036 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007313/0.4845, allocations: 307 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.4846, allocations: 39.88 kB / 1.037 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4846, allocations: 7.938 kB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4847, allocations: 0 / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.4848, allocations: 8.031 kB / 1.037 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4848, allocations: 4 kB / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.4849, allocations: 11.92 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.485, allocations: 12 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.4852, allocations: 175.5 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.4852, allocations: 19.75 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.4855, allocations: 67.11 kB / 1.037 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4855, allocations: 8 kB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4855, allocations: 3.984 kB / 1.037 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4855, allocations: 0 / 1.037 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.4857, allocations: 225.4 kB / 1.037 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4857, allocations: 4 kB / 1.037 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.4858, allocations: 7.984 kB / 1.037 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4858, allocations: 4 kB / 1.037 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.4858, allocations: 4 kB / 1.037 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4858, allocations: 0 / 1.037 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4858, allocations: 0 / 1.037 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.4864, allocations: 383 kB / 1.038 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4866, allocations: 108.9 kB / 1.038 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.4866, allocations: 11.92 kB / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.4867, allocations: 4 kB / 1.038 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.4867, allocations: 11.98 kB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.4868, allocations: 16.11 kB / 1.038 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001334/0.4869, allocations: 152.1 kB / 1.038 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4869, allocations: 0 / 1.038 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002671/0.4872, allocations: 47.92 kB / 1.038 GB, free: 2.117 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002339/0.4874, allocations: 127.2 kB / 1.038 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.4877, allocations: 215.3 kB / 1.038 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4877, allocations: 0 / 1.038 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4879, allocations: 151.4 kB / 1.038 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.4881, allocations: 14.67 kB / 1.038 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.4887, allocations: 348.1 kB / 1.039 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.489, allocations: 0.7236 MB / 1.039 GB, free: 480 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.875e-05/0.4891, allocations: 336 / 1.039 GB, free: 480 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.4891, allocations: 11.44 kB / 1.039 GB, free: 468 kB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.4891, allocations: 0 / 1.039 GB, free: 468 kB / 0.6823 GB Notification: Performance of Templates: time 0.004008/0.4931, allocations: 1.208 MB / 1.041 GB, free: 15.29 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches