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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 195.8 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.2 MB / 0.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6635/0.6648, allocations: 140.3 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002746/0.6676, allocations: 1.61 MB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.6687, allocations: 0.6495 MB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.6688, allocations: 1.438 kB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.669, allocations: 66.12 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.6692, allocations: 108.8 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.6696, allocations: 100.1 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.6698, allocations: 136.2 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.6699, allocations: 13.3 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.6701, allocations: 70.81 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.6702, allocations: 102.5 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.6703, allocations: 6.094 kB / 0.9524 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.6704, allocations: 83.25 kB / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.6705, allocations: 28.58 kB / 0.9525 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.6706, allocations: 54.58 kB / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.6708, allocations: 164 kB / 0.9527 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6708, allocations: 0.9375 kB / 0.9527 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6709, allocations: 0 / 0.9527 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6709, allocations: 0 / 0.9527 GB, free: 6.949 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006702/0.6715, allocations: 488.5 kB / 0.9531 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6716, allocations: 9.469 kB / 0.9531 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.6716, allocations: 16.22 kB / 0.9532 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.6718, allocations: 217 kB / 0.9534 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.6719, allocations: 2 kB / 0.9534 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.6719, allocations: 4.125 kB / 0.9534 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.6721, allocations: 134.9 kB / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6721, allocations: 1.25 kB / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.6721, allocations: 1.469 kB / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.6722, allocations: 0 / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.6723, allocations: 69.75 kB / 0.9536 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.6727, allocations: 404.9 kB / 0.954 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.6729, allocations: 121.4 kB / 0.9541 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.673, allocations: 80.69 kB / 0.9541 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.673, allocations: 2.125 kB / 0.9541 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.6733, allocations: 191.4 kB / 0.9543 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.6733, allocations: 3.984 kB / 0.9543 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005145/0.6738, allocations: 332.8 kB / 0.9547 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.6739, allocations: 110.4 kB / 0.9548 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.6741, allocations: 213.5 kB / 0.955 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.6741, allocations: 28.61 kB / 0.955 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.6741, allocations: 118.3 kB / 0.9551 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.6742, allocations: 33.23 kB / 0.9551 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.6742, allocations: 25.03 kB / 0.9552 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.6743, allocations: 340.2 kB / 0.9555 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.211e-05/0.6744, allocations: 58.73 kB / 0.9555 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.6745, allocations: 78.92 kB / 0.9556 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.6746, allocations: 192.1 kB / 0.9558 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6746, allocations: 256 / 0.9558 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002919/0.6749, allocations: 271.4 kB / 0.9561 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.675, allocations: 37.25 kB / 0.9561 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.675, allocations: 4 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.675, allocations: 1 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.6751, allocations: 10.81 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.6751, allocations: 1.406 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.6752, allocations: 20.58 kB / 0.9561 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.6753, allocations: 8.062 kB / 0.9561 GB, free: 4.043 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.6754, allocations: 185.8 kB / 0.9563 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.6754, allocations: 17.38 kB / 0.9563 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.6756, allocations: 99 kB / 0.9564 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6756, allocations: 2.219 kB / 0.9564 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6756, allocations: 1.125 kB / 0.9564 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6757, allocations: 0 / 0.9564 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.6758, allocations: 231.2 kB / 0.9566 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6758, allocations: 1.375 kB / 0.9566 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.6759, allocations: 16.36 kB / 0.9567 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6759, allocations: 0 / 0.9567 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.6759, allocations: 11.91 kB / 0.9567 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6759, allocations: 1.344 kB / 0.9567 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6759, allocations: 3.938 kB / 0.9567 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.6763, allocations: 330 kB / 0.957 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.6764, allocations: 113.6 kB / 0.9571 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.6764, allocations: 8.719 kB / 0.9571 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.6765, allocations: 4.062 kB / 0.9571 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.6766, allocations: 16.45 kB / 0.9571 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.6766, allocations: 4.875 kB / 0.9571 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001291/0.6768, allocations: 169 kB / 0.9573 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6768, allocations: 0 / 0.9573 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002672/0.677, allocations: 43.02 kB / 0.9573 GB, free: 3.086 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001919/0.6772, allocations: 134.9 kB / 0.9575 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.6776, allocations: 250.8 kB / 0.9577 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6776, allocations: 4 kB / 0.9577 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.6778, allocations: 167.5 kB / 0.9579 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.678, allocations: 14.09 kB / 0.9579 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.6786, allocations: 341.3 kB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.6788, allocations: 0.7326 MB / 0.9589 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.293e-05/0.6788, allocations: 8.453 kB / 0.9589 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.6789, allocations: 15.61 kB / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6789, allocations: 0 / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of Templates: time 0.004471/0.6834, allocations: 1.672 MB / 0.9606 GB, free: 0.8984 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches