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.001018/0.001018, allocations: 116 kB / 16.42 MB, free: 6.496 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.001041/0.001041, allocations: 186.6 kB / 17.35 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.163/2.163, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7502, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002498/0.7527, allocations: 1.606 MB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.7537, allocations: 0.6356 MB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.7538, allocations: 0.7812 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.754, allocations: 74.55 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.7543, allocations: 106.5 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.7546, allocations: 110 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.7548, allocations: 128.9 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.7549, allocations: 10.44 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.7551, allocations: 75.58 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.7552, allocations: 101.7 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.7553, allocations: 7.188 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.7554, allocations: 78.12 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.7555, allocations: 34.31 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.7556, allocations: 58.3 kB / 1.092 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.7558, allocations: 173.5 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7558, allocations: 4 kB / 1.092 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7558, allocations: 3.938 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.7559, allocations: 0 / 1.092 GB, free: 3.656 MB / 0.8575 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.0006106/0.7565, allocations: 477.1 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.7565, allocations: 9.547 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.7566, allocations: 17.31 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.7568, allocations: 215.8 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.7568, allocations: 3.828 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.7568, allocations: 15.56 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.7571, allocations: 128.3 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.7571, allocations: 0.5625 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.7571, allocations: 6.062 kB / 1.093 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.7571, allocations: 0.75 kB / 1.093 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.7572, allocations: 66.75 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.7576, allocations: 408.9 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.7578, allocations: 113.5 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.7579, allocations: 84.98 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.7579, allocations: 0.875 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.7582, allocations: 174.6 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.7582, allocations: 0 / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005442/0.7587, allocations: 337.4 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.7588, allocations: 111 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.759, allocations: 214.3 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.7591, allocations: 27.11 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.7591, allocations: 116 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.7592, allocations: 39.14 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.7592, allocations: 31.25 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.7593, allocations: 333.8 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.7594, allocations: 57.88 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.7595, allocations: 80.36 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.7597, allocations: 197.4 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7597, allocations: 0 / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003685/0.7601, allocations: 275.1 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.7601, allocations: 39.2 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.7602, allocations: 0.6562 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.7602, allocations: 2.109 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.7603, allocations: 16.08 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.7603, allocations: 1.219 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.7604, allocations: 10.86 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.7604, allocations: 5.359 kB / 1.095 GB, free: 1.004 MB / 0.8575 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.0001355/0.7606, allocations: 184.9 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.7606, allocations: 18 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.7608, allocations: 101.6 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7609, allocations: 6.016 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7609, allocations: 0 / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.7609, allocations: 105 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.761, allocations: 4.109 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.7611, allocations: 14.66 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.7611, allocations: 11.55 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00047/0.7616, allocations: 0.4955 MB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004655/0.7621, allocations: 0.5285 MB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001519/0.7623, allocations: 108.4 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001669/0.7624, allocations: 167.5 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of Backend: time 1.843e-06/0.7624, allocations: 0 / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007244/0.7632, allocations: 280.5 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0008177/0.764, allocations: 0.7751 MB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.005048/0.7691, allocations: 1.75 MB / 1.1 GB, free: 14.71 MB / 0.8731 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