Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 387.1 MB / 399.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 180.9 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 221.3 MB / 0.7872 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 98.73 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.48e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3262, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.525, allocations: 150.6 MB / 1.359 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.525, allocations: 83.48 kB / 1.36 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009589/1.535, allocations: 3.264 MB / 1.363 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.334e-06/1.535, allocations: 0 / 1.363 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.535, allocations: 0 / 1.363 GB, free: 34.6 MB / 0.8386 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.0004334/1.535, allocations: 434.2 kB / 1.363 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.536, allocations: 7.656 kB / 1.363 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/1.536, allocations: 15.53 kB / 1.363 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/1.536, allocations: 220.1 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.536, allocations: 4 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/1.536, allocations: 3.844 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/1.536, allocations: 135.1 kB / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.536, allocations: 0 / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/1.536, allocations: 0 / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.536, allocations: 7.906 kB / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/1.536, allocations: 77.41 kB / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/1.537, allocations: 403.4 kB / 1.364 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/1.537, allocations: 115.5 kB / 1.364 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/1.537, allocations: 94.77 kB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/1.537, allocations: 0 / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/1.537, allocations: 181.2 kB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/1.537, allocations: 0 / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0005271/1.538, allocations: 300.9 kB / 1.365 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.538, allocations: 110.1 kB / 1.365 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/1.538, allocations: 186.2 kB / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/1.538, allocations: 32.8 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/1.538, allocations: 108.6 kB / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/1.538, allocations: 28.81 kB / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/1.538, allocations: 0 / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/1.538, allocations: 326 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/1.538, allocations: 68.41 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/1.538, allocations: 83.88 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/1.539, allocations: 101.3 kB / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.539, allocations: 4 kB / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000375/1.539, allocations: 304.8 kB / 1.366 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/1.539, allocations: 36.11 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.539, allocations: 3.969 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.539, allocations: 4 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/1.539, allocations: 14.33 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.539, allocations: 0 / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/1.539, allocations: 7.75 kB / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/1.539, allocations: 11.67 kB / 1.366 GB, free: 32.44 MB / 0.8386 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 9.912e-05/1.539, allocations: 149.9 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/1.539, allocations: 19.47 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/1.54, allocations: 72.75 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.54, allocations: 4.031 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.54, allocations: 3.844 kB / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.54, allocations: 0 / 1.366 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/1.54, allocations: 220.9 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.54, allocations: 3.906 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/1.54, allocations: 13.16 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.54, allocations: 3.75 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.54, allocations: 3.5 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.54, allocations: 0 / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.54, allocations: 1.406 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/1.54, allocations: 377.4 kB / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/1.541, allocations: 113.9 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/1.541, allocations: 7.25 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.808e-05/1.541, allocations: 9.516 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/1.541, allocations: 5.297 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/1.541, allocations: 12.98 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00011/1.541, allocations: 148.1 kB / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.541, allocations: 0 / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002762/1.541, allocations: 44.08 kB / 1.367 GB, free: 31.72 MB / 0.8386 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.0002349/1.541, allocations: 145.8 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002523/1.542, allocations: 209.3 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.542, allocations: 0 / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/1.542, allocations: 149.7 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/1.542, allocations: 9.203 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/1.542, allocations: 236.1 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/1.543, allocations: 0.7271 MB / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.221e-05/1.543, allocations: 3.969 kB / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/1.543, allocations: 10.31 kB / 1.369 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.543, allocations: 0 / 1.369 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.003998/1.547, allocations: 1.222 MB / 1.37 GB, free: 30.54 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches