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.484/1.484, allocations: 249.3 MB / 261.9 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008533/0.0008533, allocations: 80.38 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.265e-05, allocations: 0 / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2357, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7697/1.005, allocations: 133.1 MB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.006, allocations: 88.25 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008752/1.014, allocations: 3.229 MB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.303e-06/1.014, allocations: 0 / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.957e-06/1.014, allocations: 4 kB / 1.025 GB, free: 14.78 MB / 0.6511 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.0004118/1.015, allocations: 429.6 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.015, allocations: 8.031 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/1.015, allocations: 22.56 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/1.015, allocations: 214 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/1.015, allocations: 7.5 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/1.015, allocations: 4 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/1.016, allocations: 127.5 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.016, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/1.016, allocations: 7.984 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.016, allocations: 0 / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/1.016, allocations: 81.34 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/1.016, allocations: 391.4 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/1.016, allocations: 113.8 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/1.017, allocations: 99.66 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/1.017, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/1.017, allocations: 172.5 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/1.017, allocations: 0 / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.000536/1.017, allocations: 304.4 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/1.017, allocations: 114.8 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/1.018, allocations: 182.2 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/1.018, allocations: 37.39 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/1.018, allocations: 109.2 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/1.018, allocations: 27.44 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/1.018, allocations: 0 / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.018, allocations: 325.6 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/1.018, allocations: 74.34 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/1.018, allocations: 87.06 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/1.018, allocations: 103.9 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.018, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004178/1.019, allocations: 297.5 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/1.019, allocations: 37.69 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.019, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.019, allocations: 4 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/1.019, allocations: 7.938 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.019, allocations: 4 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/1.019, allocations: 15.81 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/1.019, allocations: 11.95 kB / 1.028 GB, free: 11.44 MB / 0.6511 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 () * 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.0001642/1.019, allocations: 142.4 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/1.019, allocations: 15.81 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/1.019, allocations: 66.41 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.019, allocations: 7.938 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.019, allocations: 0 / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.019, allocations: 4 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/1.02, allocations: 230.5 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.02, allocations: 4 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/1.02, allocations: 4 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/1.02, allocations: 4 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/1.02, allocations: 7.984 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.02, allocations: 0 / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.02, allocations: 4 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/1.02, allocations: 385.9 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/1.021, allocations: 108.8 kB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/1.021, allocations: 7.938 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/1.021, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/1.021, allocations: 7.734 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/1.021, allocations: 12 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00014/1.021, allocations: 155.1 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.021, allocations: 4 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002969/1.021, allocations: 43.95 kB / 1.029 GB, free: 10.24 MB / 0.6511 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) * 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.0002572/1.021, allocations: 131.9 kB / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003053/1.022, allocations: 212.9 kB / 1.03 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.022, allocations: 3.938 kB / 1.03 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/1.022, allocations: 146.8 kB / 1.03 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/1.022, allocations: 9.812 kB / 1.03 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/1.023, allocations: 240 kB / 1.03 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/1.023, allocations: 0.7276 MB / 1.031 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.284e-05/1.023, allocations: 4.312 kB / 1.031 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/1.023, allocations: 11.44 kB / 1.031 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of SimCode: time 3.1e-07/1.023, allocations: 0 / 1.031 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of Templates: time 0.003846/1.027, allocations: 1.22 MB / 1.032 GB, free: 7.621 MB / 0.6511 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