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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008923/0.008923, allocations: 100.6 kB / 15.87 MB, free: 5.863 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.001966/0.001966, allocations: 190.8 kB / 16.79 MB, free: 5.805 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.747/2.747, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 70.17 kB / 0.899 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3473, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00336/0.3507, allocations: 1.663 MB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3521, allocations: 0.6622 MB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3522, allocations: 0 / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.3524, allocations: 75.83 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.3528, allocations: 99.72 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.3532, allocations: 75.11 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.3534, allocations: 127.7 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.3535, allocations: 7.984 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3537, allocations: 67.75 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.3539, allocations: 99.77 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3539, allocations: 4 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.3541, allocations: 75.88 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.3542, allocations: 31.91 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.514e-05/0.3543, allocations: 63.59 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.3545, allocations: 112.1 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3545, allocations: 0 / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3545, allocations: 0 / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3545, allocations: 0 / 1.056 GB, free: 5.137 MB / 0.8106 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.0008017/0.3553, allocations: 480.3 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3554, allocations: 8.031 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.3555, allocations: 16.75 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3557, allocations: 223.9 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.3558, allocations: 8.375 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3558, allocations: 4.375 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.356, allocations: 127.7 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.356, allocations: 0 / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3561, allocations: 0 / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3561, allocations: 0 / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3562, allocations: 79.84 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.3567, allocations: 412.9 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.3569, allocations: 117.1 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.3571, allocations: 81.78 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3571, allocations: 4 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.3574, allocations: 166.7 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3574, allocations: 0 / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005796/0.358, allocations: 335 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.3581, allocations: 118.7 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3583, allocations: 208.1 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3583, allocations: 37.7 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.3584, allocations: 112.1 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.3585, allocations: 35.69 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.3585, allocations: 29.72 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3587, allocations: 334.8 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.3588, allocations: 55.98 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3589, allocations: 77.67 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.3591, allocations: 197.1 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3591, allocations: 3.938 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003378/0.3594, allocations: 271 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.3595, allocations: 37.7 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3595, allocations: 3.984 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3595, allocations: 0 / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3596, allocations: 12 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3597, allocations: 0 / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3598, allocations: 7.984 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3598, allocations: 12 kB / 1.059 GB, free: 1.273 MB / 0.8106 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.0001653/0.36, allocations: 179.5 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.36, allocations: 16.12 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.3602, allocations: 107 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3602, allocations: 7.984 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3603, allocations: 0 / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3603, allocations: 0 / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3605, allocations: 241.4 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3605, allocations: 0 / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.3606, allocations: 15.98 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3606, allocations: 0 / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3606, allocations: 4 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3606, allocations: 0 / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3606, allocations: 0 / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.361, allocations: 343.3 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3611, allocations: 104.9 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.3612, allocations: 4 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.995e-05/0.3613, allocations: 8 kB / 1.06 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.3613, allocations: 11.98 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3614, allocations: 4 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001544/0.3615, allocations: 163 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3615, allocations: 0 / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002697/0.3618, allocations: 47.98 kB / 1.06 GB, free: 15.93 MB / 0.8262 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.0002395/0.3621, allocations: 137 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.3624, allocations: 239.3 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3624, allocations: 0 / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.3626, allocations: 163.3 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.3628, allocations: 20.02 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.3635, allocations: 415.8 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3638, allocations: 0.7238 MB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.3639, allocations: 15.42 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3639, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of Templates: time 0.00416/0.368, allocations: 1.849 MB / 1.064 GB, free: 12.3 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches