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.572/1.572, allocations: 249.5 MB / 257 MB, free: 6.895 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.001067/0.001067, allocations: 179.6 kB / 316.3 MB, free: 3.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 1.914/1.914, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008459/0.0008457, allocations: 94.45 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.773e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2337, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7982/1.032, allocations: 133.4 MB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/1.032, allocations: 81.64 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00895/1.041, allocations: 3.206 MB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.913e-06/1.041, allocations: 0 / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.041, allocations: 0 / 1.019 GB, free: 1.621 MB / 0.6355 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.000479/1.042, allocations: 433.5 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.042, allocations: 8.031 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/1.042, allocations: 24.78 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/1.042, allocations: 223.1 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.042, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/1.042, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001634/1.043, allocations: 75.45 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/1.043, allocations: 128.1 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.043, allocations: 0 / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/1.043, allocations: 7.938 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/1.043, allocations: 0 / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/1.043, allocations: 372.8 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/1.043, allocations: 108.4 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/1.043, allocations: 88.78 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/1.044, allocations: 8 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/1.044, allocations: 162.4 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/1.044, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0005681/1.044, allocations: 276.6 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/1.044, allocations: 102.8 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/1.045, allocations: 177.4 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/1.045, allocations: 25.7 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/1.045, allocations: 111.6 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/1.045, allocations: 27.5 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/1.045, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.045, allocations: 334.4 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/1.045, allocations: 67.2 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/1.045, allocations: 80.94 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/1.045, allocations: 75.58 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.045, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003957/1.046, allocations: 271.8 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/1.046, allocations: 39.56 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.046, allocations: 0.7031 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/1.046, allocations: 3.938 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/1.046, allocations: 8 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.046, allocations: 0 / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/1.046, allocations: 15.92 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/1.046, allocations: 12.81 kB / 1.022 GB, free: 14.45 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.0001146/1.046, allocations: 146.2 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/1.046, allocations: 15.81 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/1.046, allocations: 59.22 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.046, allocations: 4 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.046, allocations: 7.922 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.046, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/1.046, allocations: 205.9 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.046, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/1.047, allocations: 12.06 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.047, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/1.047, allocations: 7.984 kB / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.047, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.047, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/1.047, allocations: 346.1 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/1.047, allocations: 108.7 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/1.047, allocations: 4 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/1.047, allocations: 4 kB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/1.047, allocations: 11.92 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/1.047, allocations: 11.94 kB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001056/1.048, allocations: 148.5 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.048, allocations: 0 / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002644/1.048, allocations: 36 kB / 1.023 GB, free: 13.35 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.000213/1.048, allocations: 143.1 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002819/1.048, allocations: 196.4 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.048, allocations: 7.188 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/1.048, allocations: 149.3 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/1.049, allocations: 15.31 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/1.049, allocations: 227.8 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.049, allocations: 0.7228 MB / 1.024 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.136e-05/1.049, allocations: 0 / 1.024 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/1.049, allocations: 11.44 kB / 1.024 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.049, allocations: 0 / 1.024 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.003701/1.053, allocations: 1.193 MB / 1.025 GB, free: 10.77 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