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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001207/0.001207, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.001181/0.001181, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.221/1.221, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.385/2.385, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6314, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002197/0.6336, allocations: 1.604 MB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009203/0.6346, allocations: 0.6349 MB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.6346, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.6348, allocations: 83.81 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.635, allocations: 99.67 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.6353, allocations: 99.7 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.6355, allocations: 131.7 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.6356, allocations: 15.97 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.6357, allocations: 71.8 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.6359, allocations: 103.8 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.6359, allocations: 8 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.636, allocations: 79.92 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.6361, allocations: 39.84 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.6361, allocations: 47.67 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.6363, allocations: 175.2 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6363, allocations: 0 / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6364, allocations: 0 / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.6364, allocations: 0 / 1.212 GB, free: 10.46 MB / 0.9356 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.0005896/0.637, allocations: 482.2 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.637, allocations: 8.031 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.637, allocations: 20.75 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.6372, allocations: 211.9 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.6373, allocations: 4.375 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.6373, allocations: 4.375 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.6375, allocations: 131.6 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6375, allocations: 0 / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.6375, allocations: 3.938 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6375, allocations: 0 / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.6376, allocations: 79.95 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.638, allocations: 408.8 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.6382, allocations: 117.2 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/0.6383, allocations: 77.8 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.6383, allocations: 15.86 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.6385, allocations: 162.8 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.6385, allocations: 0 / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0004297/0.6389, allocations: 339 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.639, allocations: 110.8 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.6392, allocations: 216.7 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.6392, allocations: 33.7 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.6393, allocations: 116.1 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.6393, allocations: 31.7 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.6394, allocations: 37.61 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.6394, allocations: 326.8 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.6395, allocations: 63.97 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.6396, allocations: 84.16 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.6398, allocations: 193.1 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6398, allocations: 0 / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002783/0.6401, allocations: 263.1 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.6401, allocations: 41.69 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6401, allocations: 0 / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.547e-06/0.6402, allocations: 96 / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.6402, allocations: 23.86 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6403, allocations: 0 / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.6404, allocations: 15.84 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.6404, allocations: 8 kB / 1.215 GB, free: 6.582 MB / 0.9356 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.0001229/0.6405, allocations: 179.5 kB / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.6405, allocations: 15.81 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.6407, allocations: 107.1 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6407, allocations: 0 / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6407, allocations: 0 / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6407, allocations: 4 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.6409, allocations: 233.5 kB / 1.215 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6409, allocations: 4.312 kB / 1.215 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.641, allocations: 12 kB / 1.216 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.641, allocations: 0 / 1.216 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.641, allocations: 11.98 kB / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.641, allocations: 0 / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.641, allocations: 4 kB / 1.216 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.6414, allocations: 335.3 kB / 1.216 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.6414, allocations: 104.8 kB / 1.216 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.6415, allocations: 4 kB / 1.216 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.6416, allocations: 15.98 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.6416, allocations: 7.984 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.6416, allocations: 4 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001103/0.6418, allocations: 159.2 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.6418, allocations: 0 / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002284/0.642, allocations: 51.91 kB / 1.216 GB, free: 5.234 MB / 0.9356 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.0001589/0.6422, allocations: 135.2 kB / 1.216 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.6424, allocations: 243.3 kB / 1.217 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6425, allocations: 0 / 1.217 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.6426, allocations: 163.3 kB / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.6428, allocations: 17.88 kB / 1.217 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.6433, allocations: 366.1 kB / 1.217 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.6435, allocations: 0.7235 MB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.6436, allocations: 15.44 kB / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.6436, allocations: 0 / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of Templates: time 0.002992/0.6466, allocations: 1.882 MB / 1.22 GB, free: 1.629 MB / 0.9356 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