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.001106/0.001106, allocations: 108.1 kB / 16.41 MB, free: 6.477 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.00126/0.00126, allocations: 184.2 kB / 17.34 MB, free: 5.727 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.285/1.285, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.431/2.431, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7476, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002614/0.7502, allocations: 1.61 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.7513, allocations: 0.6465 MB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.7514, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.7515, allocations: 79.81 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.7518, allocations: 99.69 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.7522, allocations: 95.75 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.7523, allocations: 139.6 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.557e-05/0.7524, allocations: 4 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.7526, allocations: 79.8 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.7528, allocations: 107.8 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.7528, allocations: 8 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.753, allocations: 75.92 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.753, allocations: 31.86 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.7531, allocations: 59.59 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.7534, allocations: 167.3 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7534, allocations: 0 / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7534, allocations: 0 / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7534, 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.0006817/0.7541, allocations: 482.2 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7541, allocations: 8.031 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.7542, allocations: 20.69 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.7544, allocations: 212 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.7544, allocations: 4.375 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.7545, allocations: 8.359 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.7547, allocations: 123.7 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.7547, allocations: 11.94 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.7547, allocations: 0 / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7547, allocations: 3.938 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.7549, allocations: 71.91 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.7553, allocations: 408.9 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.7554, allocations: 117.1 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.7556, allocations: 81.78 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.7556, allocations: 4 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.7558, allocations: 175.9 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 3.136e-06/0.7558, allocations: 7.984 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0004984/0.7563, allocations: 335.2 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.7564, allocations: 102.8 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.7566, allocations: 216.8 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.7566, allocations: 25.7 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.7567, allocations: 124.1 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.7567, allocations: 35.55 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.7568, allocations: 29.61 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7569, allocations: 338.8 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.757, allocations: 59.97 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.7571, allocations: 77.69 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.7573, allocations: 193 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7573, allocations: 4.234 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003191/0.7576, allocations: 267.1 kB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.7577, allocations: 33.69 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7577, allocations: 4 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.7577, allocations: 4 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.7578, allocations: 16.08 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7578, allocations: 3.938 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.7579, allocations: 15.84 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.758, allocations: 4 kB / 1.215 GB, free: 6.586 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.0001422/0.7581, allocations: 185 kB / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.7582, allocations: 15.81 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.7584, allocations: 103 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7584, allocations: 0 / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7584, allocations: 4 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.7585, allocations: 104.9 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.7585, allocations: 8 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.7586, allocations: 7.938 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.7587, allocations: 11.98 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004497/0.7591, allocations: 0.4973 MB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004431/0.7596, allocations: 0.5307 MB / 1.216 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001251/0.7597, allocations: 99.95 kB / 1.216 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001253/0.7599, allocations: 163.2 kB / 1.217 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of Backend: time 7.72e-07/0.7599, allocations: 0 / 1.217 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006525/0.7605, allocations: 281.7 kB / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006535/0.7612, allocations: 0.7772 MB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of Templates: time 0.004593/0.7658, allocations: 1.798 MB / 1.219 GB, free: 1.871 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