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.406/2.406, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001106/0.001106, allocations: 185 kB / 498.1 MB, free: 5.68 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.749/1.749, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.001054/0.001054, allocations: 103.2 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004131, allocations: 17.84 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3662, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.5637, allocations: 150.7 MB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.564, allocations: 91.83 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008756/0.5727, allocations: 3.276 MB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5728, allocations: 0 / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.5728, allocations: 4 kB / 1.373 GB, free: 8.004 MB / 0.8698 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.0005193/0.5733, allocations: 456.3 kB / 1.374 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5734, allocations: 8.031 kB / 1.374 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.5734, allocations: 11.91 kB / 1.374 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.5737, allocations: 227.5 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5737, allocations: 0 / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.5738, allocations: 4 kB / 1.374 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.574, allocations: 127.3 kB / 1.374 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.574, allocations: 4 kB / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.574, allocations: 8 kB / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5741, allocations: 0 / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.5742, allocations: 75.89 kB / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.5746, allocations: 400.9 kB / 1.375 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.5748, allocations: 118 kB / 1.375 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.5748, allocations: 4.062 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.5751, allocations: 166.8 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.5751, allocations: 0 / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0006937/0.5758, allocations: 462.1 kB / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.5758, allocations: 114.9 kB / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.576, allocations: 190.1 kB / 1.376 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.5761, allocations: 25.7 kB / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.5761, allocations: 120 kB / 1.376 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.5762, allocations: 19.7 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.5762, allocations: 7.938 kB / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5763, allocations: 322.8 kB / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.5764, allocations: 71.95 kB / 1.376 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.873e-05/0.5765, allocations: 93.67 kB / 1.376 GB, free: 4.734 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.5766, allocations: 93.67 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.5767, allocations: 0 / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004059/0.5771, allocations: 315 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.5771, allocations: 37.69 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5771, allocations: 0 / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5772, allocations: 0 / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.5772, allocations: 8.094 kB / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5772, allocations: 4.031 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.5773, allocations: 11.89 kB / 1.377 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.5774, allocations: 19.97 kB / 1.377 GB, free: 4.23 MB / 0.8698 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 () * Number of clocked 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.0001442/0.5775, allocations: 171.5 kB / 1.377 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.5775, allocations: 15.81 kB / 1.377 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.5777, allocations: 67.08 kB / 1.377 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5777, allocations: 0 / 1.377 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5777, allocations: 4 kB / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5777, allocations: 0 / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.5779, allocations: 225.5 kB / 1.377 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5779, allocations: 0 / 1.377 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.578, allocations: 8 kB / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.578, allocations: 3.984 kB / 1.377 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.578, allocations: 4 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.578, allocations: 3.938 kB / 1.377 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.578, allocations: 0 / 1.377 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.5786, allocations: 387 kB / 1.378 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.5787, allocations: 108.9 kB / 1.378 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.5787, allocations: 7.938 kB / 1.378 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.5788, allocations: 7.984 kB / 1.378 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.5788, allocations: 8 kB / 1.378 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.5789, allocations: 8 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001192/0.579, allocations: 157.1 kB / 1.378 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.579, allocations: 4 kB / 1.378 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002631/0.5793, allocations: 44 kB / 1.378 GB, free: 2.898 MB / 0.8698 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) * Number of clocked states: 0 () * 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.0002052/0.5795, allocations: 134.9 kB / 1.378 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.5798, allocations: 219.3 kB / 1.378 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5798, allocations: 0 / 1.378 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.5799, allocations: 155.3 kB / 1.378 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.5801, allocations: 8.188 kB / 1.378 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006266/0.5808, allocations: 352.1 kB / 1.379 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.5811, allocations: 0.7236 MB / 1.379 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.5812, allocations: 0 / 1.379 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.5812, allocations: 11.44 kB / 1.379 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/0.5812, allocations: 0 / 1.379 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of Templates: time 0.0039/0.5851, allocations: 1.22 MB / 1.381 GB, free: 20 kB / 0.8698 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