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.001589/0.001589, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.329/2.329, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7451/0.7463, allocations: 140.4 MB / 0.9491 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002657/0.749, allocations: 1.664 MB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.75, allocations: 0.6311 MB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.7501, allocations: 1.531 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.7503, allocations: 82.72 kB / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.7506, allocations: 91.69 kB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.751, allocations: 88.41 kB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.7512, allocations: 140.2 kB / 0.9517 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.7513, allocations: 13.58 kB / 0.9517 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.7514, allocations: 71.2 kB / 0.9518 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.7516, allocations: 108.2 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.7516, allocations: 6.062 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.7518, allocations: 75.09 kB / 0.952 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.7518, allocations: 34.19 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.7519, allocations: 62 kB / 0.9521 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.7521, allocations: 165.8 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7522, allocations: 0 / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7522, allocations: 0 / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.7522, allocations: 0 / 0.9522 GB, free: 6.934 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.0006415/0.7528, allocations: 489.7 kB / 0.9527 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.7529, allocations: 9.469 kB / 0.9527 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.7529, allocations: 15.56 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.7531, allocations: 216 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.7531, allocations: 4.281 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.7532, allocations: 3.688 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.7534, allocations: 127 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7534, allocations: 0 / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.7534, allocations: 1.375 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.7534, allocations: 1.688 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.7536, allocations: 71.83 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.754, allocations: 410.2 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.7542, allocations: 116.2 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.7543, allocations: 81.47 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.7543, allocations: 13.27 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/0.7546, allocations: 171.9 kB / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.7546, allocations: 1.219 kB / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005086/0.7552, allocations: 332.9 kB / 0.9542 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.7552, allocations: 109.8 kB / 0.9543 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.7554, allocations: 218.7 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.7554, allocations: 31.05 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.7555, allocations: 123.3 kB / 0.9547 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.7555, allocations: 29.34 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.7556, allocations: 28.7 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.7556, allocations: 331.4 kB / 0.955 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.7557, allocations: 65.12 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.7558, allocations: 79.25 kB / 0.9552 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.756, allocations: 195.1 kB / 0.9554 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.756, allocations: 3.938 kB / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003204/0.7563, allocations: 267.6 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.7564, allocations: 33.92 kB / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.7564, allocations: 0 / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.7564, allocations: 1.625 kB / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.7565, allocations: 18.23 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7566, allocations: 1.188 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.7567, allocations: 21.34 kB / 0.9557 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.7567, allocations: 12.2 kB / 0.9557 GB, free: 4.023 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.0001289/0.7568, allocations: 172.7 kB / 0.9559 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.7569, allocations: 22.48 kB / 0.9559 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.7571, allocations: 90.58 kB / 0.956 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7571, allocations: 6.031 kB / 0.956 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7571, allocations: 1.938 kB / 0.956 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7571, allocations: 7.984 kB / 0.956 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.7573, allocations: 234.6 kB / 0.9562 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7573, allocations: 0 / 0.9562 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.7574, allocations: 9.344 kB / 0.9562 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.7574, allocations: 3.984 kB / 0.9562 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.7574, allocations: 8.625 kB / 0.9562 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7574, allocations: 0 / 0.9562 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7574, allocations: 1.469 kB / 0.9562 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.7578, allocations: 341 kB / 0.9566 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.7579, allocations: 105.9 kB / 0.9567 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.7579, allocations: 7.953 kB / 0.9567 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.758, allocations: 5.094 kB / 0.9567 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.7581, allocations: 12.98 kB / 0.9567 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.7581, allocations: 5.062 kB / 0.9567 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001105/0.7582, allocations: 168.1 kB / 0.9569 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7582, allocations: 0 / 0.9569 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002779/0.7585, allocations: 46.5 kB / 0.9569 GB, free: 3.074 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.0001893/0.7587, allocations: 130.5 kB / 0.957 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.759, allocations: 251.3 kB / 0.9573 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.759, allocations: 1.219 kB / 0.9573 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.7592, allocations: 163.2 kB / 0.9574 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.0002448/0.7594, allocations: 22.41 kB / 0.9574 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.7601, allocations: 379.4 kB / 0.9578 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.7602, allocations: 0.7304 MB / 0.9585 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.688e-05/0.7603, allocations: 7.297 kB / 0.9585 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.7603, allocations: 12.56 kB / 0.9585 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.7603, allocations: 0 / 0.9585 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of Templates: time 0.004491/0.7648, allocations: 1.635 MB / 0.9601 GB, free: 0.8789 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