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.001076/0.001076, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001376/0.001376, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.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.725/2.725, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003302, allocations: 11.98 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5739/0.5742, allocations: 153.8 MB / 1.022 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001745/0.576, allocations: 1.309 MB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.5771, allocations: 0.5887 MB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.5772, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.5773, allocations: 71.89 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.5776, allocations: 103.7 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.578, allocations: 79.72 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.5782, allocations: 107.7 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.5783, allocations: 4 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.5785, allocations: 67.81 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.5786, allocations: 83.77 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.5787, allocations: 4 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.5788, allocations: 71.88 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.5789, allocations: 31.91 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.579, allocations: 53.58 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.5792, allocations: 109.8 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5792, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.168e-06/0.5792, allocations: 4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5792, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 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.0007326/0.5799, allocations: 456.4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.58, allocations: 8.562 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.5801, allocations: 15.81 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.5803, allocations: 210.8 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5803, allocations: 4 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.5803, allocations: 7.984 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.5806, allocations: 127.3 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.5806, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5806, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5806, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.5808, allocations: 79.89 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.5812, allocations: 408.9 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.5814, allocations: 121.1 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.5815, allocations: 77.78 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.5816, allocations: 11.94 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.5819, allocations: 170.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.5819, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004964/0.5824, allocations: 331 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.5825, allocations: 114.8 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.5826, allocations: 219 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.5827, allocations: 33.7 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.5827, allocations: 112.1 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.5828, allocations: 31.55 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.5828, allocations: 0 / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5829, allocations: 330.8 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/0.583, allocations: 59.97 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.5831, allocations: 77.69 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.5832, allocations: 93.64 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5832, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003163/0.5835, allocations: 263.1 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.5836, allocations: 37.7 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5836, allocations: 3.984 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.5836, allocations: 4 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.5837, allocations: 11.94 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5837, allocations: 4 kB / 1.028 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.5838, allocations: 15.83 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.5839, allocations: 8 kB / 1.028 GB, free: 9.723 MB / 0.7794 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 ($whenCondition2,$PRE.decAng.tNext,decAng.tNext,$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 (10): * Single equations (assignments): 9 * 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.0001501/0.584, allocations: 189.1 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.5841, allocations: 15.81 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.5843, allocations: 99.31 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5843, allocations: 4 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5843, allocations: 64 / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.5843, allocations: 4.188 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.5845, allocations: 241.4 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5845, allocations: 3.953 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.5846, allocations: 11.98 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.5846, allocations: 0 / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.5846, allocations: 4 kB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5846, allocations: 0 / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5846, allocations: 0 / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.585, allocations: 339.3 kB / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/0.5851, allocations: 112.8 kB / 1.029 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.449e-05/0.5852, allocations: 4 kB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5853, allocations: 12 kB / 1.029 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.5853, allocations: 7.984 kB / 1.029 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5854, allocations: 4 kB / 1.029 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000134/0.5855, allocations: 167 kB / 1.029 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5855, allocations: 0 / 1.029 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002556/0.5858, allocations: 44 kB / 1.029 GB, free: 8.371 MB / 0.7794 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 (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.0002015/0.586, allocations: 142.9 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.5863, allocations: 235.3 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5863, allocations: 4 kB / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.5865, allocations: 167.3 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.5867, allocations: 15.86 kB / 1.03 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.5873, allocations: 369 kB / 1.03 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.5875, allocations: 0.7278 MB / 1.031 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.226e-05/0.5876, allocations: 4 kB / 1.031 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.5876, allocations: 11.44 kB / 1.031 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.5876, allocations: 0 / 1.031 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of Templates: time 0.00414/0.5918, allocations: 1.512 MB / 1.033 GB, free: 5.129 MB / 0.7794 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 -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/jenkins/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