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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001841/0.001841, allocations: 100.1 kB / 15.88 MB, free: 12 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.002463/0.002464, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.671/1.671, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.846/0.8475, allocations: 140.4 MB / 0.9496 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003511/0.8511, allocations: 1.666 MB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.8524, allocations: 0.655 MB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.8525, allocations: 1.062 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.8527, allocations: 82.66 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.853, allocations: 96.73 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.8534, allocations: 71.83 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.8536, allocations: 122.6 kB / 0.9522 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.8537, allocations: 18.47 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.854, allocations: 68.83 kB / 0.9523 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.8542, allocations: 97.58 kB / 0.9524 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.8542, allocations: 3.5 kB / 0.9524 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.8544, allocations: 72.44 kB / 0.9524 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.8545, allocations: 36.95 kB / 0.9525 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.8546, allocations: 54.45 kB / 0.9525 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.8548, allocations: 112.2 kB / 0.9526 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8548, allocations: 4.969 kB / 0.9526 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8549, allocations: 0 / 0.9526 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.8549, allocations: 0 / 0.9526 GB, free: 6.996 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.0007267/0.8556, allocations: 488.2 kB / 0.9531 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8557, allocations: 10.34 kB / 0.9531 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.8557, allocations: 16.19 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.8559, allocations: 208.5 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.8559, allocations: 10.06 kB / 0.9533 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.856, allocations: 4.656 kB / 0.9534 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.8562, allocations: 122.1 kB / 0.9535 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8562, allocations: 1.688 kB / 0.9535 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.8563, allocations: 4 kB / 0.9535 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.8563, allocations: 1.375 kB / 0.9535 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.8564, allocations: 73.52 kB / 0.9535 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.8568, allocations: 413.2 kB / 0.9539 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.857, allocations: 117 kB / 0.9541 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.8572, allocations: 80.72 kB / 0.9541 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.8572, allocations: 6.156 kB / 0.9541 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.8575, allocations: 175.1 kB / 0.9543 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.8575, allocations: 0 / 0.9543 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005713/0.8581, allocations: 341.5 kB / 0.9546 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.8582, allocations: 106.2 kB / 0.9547 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.8584, allocations: 217.6 kB / 0.9549 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.8584, allocations: 31.17 kB / 0.955 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.8585, allocations: 120.2 kB / 0.9551 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.8585, allocations: 29.16 kB / 0.9551 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.8586, allocations: 32.27 kB / 0.9551 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.8587, allocations: 336.4 kB / 0.9555 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.8588, allocations: 54.33 kB / 0.9555 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.877e-05/0.8589, allocations: 83.25 kB / 0.9556 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.8591, allocations: 195.4 kB / 0.9558 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8591, allocations: 0 / 0.9558 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003504/0.8595, allocations: 267 kB / 0.956 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.8595, allocations: 37.27 kB / 0.9561 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.8595, allocations: 1.375 kB / 0.9561 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.8595, allocations: 1.156 kB / 0.9561 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.8597, allocations: 13.89 kB / 0.9561 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.8597, allocations: 5.031 kB / 0.9561 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.8598, allocations: 13.41 kB / 0.9561 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.8598, allocations: 16.42 kB / 0.9561 GB, free: 4.09 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.0001389/0.86, allocations: 177.5 kB / 0.9563 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.86, allocations: 17.53 kB / 0.9563 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.8602, allocations: 95.09 kB / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8602, allocations: 1.281 kB / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8602, allocations: 1.031 kB / 0.9564 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.8603, allocations: 9.172 kB / 0.9564 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.8605, allocations: 238.2 kB / 0.9566 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8605, allocations: 1.375 kB / 0.9566 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.8605, allocations: 11.98 kB / 0.9566 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8605, allocations: 1.906 kB / 0.9566 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.8606, allocations: 7.406 kB / 0.9567 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.8606, allocations: 5.125 kB / 0.9567 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8606, allocations: 0 / 0.9567 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.861, allocations: 338.9 kB / 0.957 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.8611, allocations: 105.9 kB / 0.9571 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.8611, allocations: 11.73 kB / 0.9571 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.8612, allocations: 3.625 kB / 0.9571 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.8613, allocations: 9.391 kB / 0.9571 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.8613, allocations: 9.375 kB / 0.9571 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001189/0.8614, allocations: 167.9 kB / 0.9573 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8614, allocations: 0 / 0.9573 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002816/0.8617, allocations: 46.41 kB / 0.9573 GB, free: 3.133 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.0002026/0.8619, allocations: 133.7 kB / 0.9574 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.8623, allocations: 243.9 kB / 0.9577 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8623, allocations: 0 / 0.9577 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.8625, allocations: 170.8 kB / 0.9578 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.8627, allocations: 15.38 kB / 0.9579 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.8634, allocations: 409.4 kB / 0.9582 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.8636, allocations: 0.7242 MB / 0.959 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.8637, allocations: 12.22 kB / 0.959 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8637, allocations: 0 / 0.959 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of Templates: time 0.0041/0.8678, allocations: 1.857 MB / 0.9608 GB, free: 0.7773 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/jenkins1/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