Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.344/2.344, allocations: 390.5 MB / 398 MB, free: 10.96 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.001085/0.001085, allocations: 176.9 kB / 491.2 MB, free: 1.605 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.609/1.609, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001053/0.001053, allocations: 101.5 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.061e-05, allocations: 7.984 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3659, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.392/1.758, allocations: 150.8 MB / 1.36 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.758, allocations: 83.56 kB / 1.36 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009358/1.767, allocations: 3.248 MB / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/1.767, allocations: 0 / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.105e-05/1.767, allocations: 0 / 1.363 GB, free: 33.02 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.0004627/1.768, allocations: 433.9 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.768, allocations: 10 kB / 1.363 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/1.768, allocations: 18.5 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/1.768, allocations: 216.8 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/1.768, allocations: 3.719 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/1.768, allocations: 0 / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001765/1.769, allocations: 78.28 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/1.769, allocations: 125.8 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.769, allocations: 7.875 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/1.769, allocations: 0 / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.769, allocations: 0 / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/1.769, allocations: 373.1 kB / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/1.769, allocations: 111.3 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.99e-05/1.769, allocations: 91.27 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/1.769, allocations: 3.844 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/1.77, allocations: 168.4 kB / 1.364 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/1.77, allocations: 0 / 1.364 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0005385/1.77, allocations: 269.2 kB / 1.365 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.77, allocations: 104.6 kB / 1.365 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/1.77, allocations: 186.7 kB / 1.365 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/1.77, allocations: 29.55 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/1.771, allocations: 108.7 kB / 1.365 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/1.771, allocations: 27.98 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-06/1.771, allocations: 0 / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.771, allocations: 331.5 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/1.771, allocations: 65.16 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/1.771, allocations: 83.77 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/1.771, allocations: 70.39 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.771, allocations: 3.938 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003459/1.771, allocations: 273 kB / 1.366 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/1.771, allocations: 35.09 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.771, allocations: 0 / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.771, allocations: 64 / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/1.772, allocations: 20.06 kB / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/1.772, allocations: 0 / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/1.772, allocations: 17.34 kB / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/1.772, allocations: 7.812 kB / 1.366 GB, free: 31 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.0001098/1.772, allocations: 148.1 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/1.772, allocations: 15.5 kB / 1.366 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/1.772, allocations: 64.52 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.772, allocations: 3.844 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.772, allocations: 1.453 kB / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.772, allocations: 0 / 1.366 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/1.772, allocations: 201.8 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.772, allocations: 1.781 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/1.772, allocations: 11.62 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.772, allocations: 0 / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/1.772, allocations: 9.484 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.772, allocations: 3.969 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.772, allocations: 0 / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/1.773, allocations: 338.1 kB / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/1.773, allocations: 109.7 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/1.773, allocations: 5.094 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/1.773, allocations: 3.875 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/1.773, allocations: 6.594 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/1.773, allocations: 12.36 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001022/1.773, allocations: 149.7 kB / 1.367 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.773, allocations: 3.938 kB / 1.367 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002629/1.773, allocations: 44 kB / 1.367 GB, free: 30.34 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.0001891/1.774, allocations: 133 kB / 1.367 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002236/1.774, allocations: 202 kB / 1.367 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.774, allocations: 0 / 1.367 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/1.774, allocations: 145.3 kB / 1.367 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/1.774, allocations: 11.55 kB / 1.367 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/1.775, allocations: 230.7 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/1.775, allocations: 0.7224 MB / 1.368 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.225e-05/1.775, allocations: 9.516 kB / 1.368 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/1.775, allocations: 7.438 kB / 1.368 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.775, allocations: 0 / 1.368 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of Templates: time 0.00387/1.779, allocations: 1.198 MB / 1.37 GB, free: 29.16 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches