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.454/2.454, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001071/0.001072, allocations: 188.8 kB / 487.4 MB, free: 5.055 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.686/1.686, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 95.89 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.629e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3711, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.65, allocations: 150 MB / 1.352 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.651, allocations: 84.44 kB / 1.352 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01051/1.661, allocations: 3.246 MB / 1.356 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.661, allocations: 0 / 1.356 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.477e-05/1.661, allocations: 3.062 kB / 1.356 GB, free: 33.91 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.0005597/1.662, allocations: 426.8 kB / 1.356 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.662, allocations: 11.53 kB / 1.356 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/1.662, allocations: 20.19 kB / 1.356 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/1.662, allocations: 218.4 kB / 1.356 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/1.662, allocations: 7.844 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/1.662, allocations: 0.8438 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001815/1.662, allocations: 74.25 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/1.663, allocations: 122.7 kB / 1.357 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.663, allocations: 7.875 kB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/1.663, allocations: 0.6094 kB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.663, allocations: 7.781 kB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/1.663, allocations: 372.3 kB / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/1.663, allocations: 109.5 kB / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/1.664, allocations: 89.27 kB / 1.357 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/1.664, allocations: 0 / 1.357 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/1.664, allocations: 176.1 kB / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/1.664, allocations: 0 / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0006326/1.664, allocations: 270.8 kB / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.665, allocations: 107.5 kB / 1.358 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/1.665, allocations: 180.9 kB / 1.358 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/1.665, allocations: 33.61 kB / 1.358 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/1.665, allocations: 107.5 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/1.665, allocations: 24.27 kB / 1.358 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/1.665, allocations: 3.844 kB / 1.358 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.665, allocations: 329.4 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.025e-05/1.665, allocations: 64.98 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/1.665, allocations: 83.75 kB / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/1.665, allocations: 71.44 kB / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.665, allocations: 0 / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004094/1.666, allocations: 272.4 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/1.666, allocations: 35.55 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.666, allocations: 0.75 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.666, allocations: 0 / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/1.666, allocations: 16.31 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.666, allocations: 0 / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/1.666, allocations: 8.578 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/1.666, allocations: 8.359 kB / 1.359 GB, free: 31.89 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 0.0001569/1.666, allocations: 163.8 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/1.666, allocations: 19 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/1.667, allocations: 61.42 kB / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.667, allocations: 3.781 kB / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.667, allocations: 0 / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/1.667, allocations: 0.5156 kB / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/1.667, allocations: 201.3 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.667, allocations: 0 / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/1.667, allocations: 15.62 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.667, allocations: 0 / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/1.667, allocations: 3.844 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.667, allocations: 3.844 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.667, allocations: 0 / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/1.667, allocations: 337 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/1.667, allocations: 117.6 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/1.668, allocations: 11.78 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/1.668, allocations: 0 / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/1.668, allocations: 6.984 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/1.668, allocations: 11 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001358/1.668, allocations: 155.1 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.91e-07/1.668, allocations: 0 / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002788/1.668, allocations: 38.78 kB / 1.36 GB, free: 31.22 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.0002471/1.668, allocations: 132.4 kB / 1.36 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002304/1.669, allocations: 200.5 kB / 1.36 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.669, allocations: 3.875 kB / 1.36 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/1.669, allocations: 152.8 kB / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/1.669, allocations: 12.33 kB / 1.36 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/1.669, allocations: 219.9 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/1.67, allocations: 0.7225 MB / 1.361 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.524e-05/1.67, allocations: 11.7 kB / 1.361 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/1.67, allocations: 7.438 kB / 1.361 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.67, allocations: 0 / 1.361 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of Templates: time 0.00438/1.674, allocations: 1.183 MB / 1.362 GB, free: 30.05 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