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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001762/0.001762, allocations: 113.3 kB / 15.7 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 200 kB / 16.64 MB, free: 6.609 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.403/1.403, allocations: 222.9 MB / 240.3 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.3 MB / 0.6648 GB, free: 116 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.59 kB / 0.9509 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3232, allocations: 140.4 MB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00268/0.3259, allocations: 1.607 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.327, allocations: 0.6441 MB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.3271, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.3273, allocations: 79.77 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.3276, allocations: 103.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.328, allocations: 99.75 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.3281, allocations: 131.7 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.3282, allocations: 15.97 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.3284, allocations: 67.81 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.3286, allocations: 107.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.3286, allocations: 8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3288, allocations: 83.86 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.3289, allocations: 31.91 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.3289, allocations: 51.61 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.3292, allocations: 175.5 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3292, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3292, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3292, allocations: 4 kB / 1.091 GB, free: 14.18 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.0007301/0.33, allocations: 472.4 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.33, allocations: 8.031 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.3301, allocations: 16.75 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3304, allocations: 227.3 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3304, allocations: 8.312 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.3304, allocations: 12.36 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3306, allocations: 123.7 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3306, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3307, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3307, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.3308, allocations: 71.91 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.3312, allocations: 404.9 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3314, allocations: 121.1 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3316, allocations: 81.78 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3316, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.3318, allocations: 181.9 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 3.085e-06/0.3318, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005449/0.3324, allocations: 335 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.3325, allocations: 114.8 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3327, allocations: 210.8 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3327, allocations: 25.7 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.3328, allocations: 112.1 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.3328, allocations: 31.55 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.3329, allocations: 33.7 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.333, allocations: 334.8 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.564e-05/0.3331, allocations: 59.97 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.404e-05/0.3332, allocations: 73.69 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.3334, allocations: 200.9 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3334, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003246/0.3338, allocations: 271.4 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.3338, allocations: 44.03 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3338, allocations: 4 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3338, allocations: 0 / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.334, allocations: 19.92 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.334, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.3341, allocations: 8 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3341, allocations: 4 kB / 1.095 GB, free: 10.32 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.0001445/0.3343, allocations: 184.7 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.3343, allocations: 19.81 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.3345, allocations: 111 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3345, allocations: 0 / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3345, allocations: 0 / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3345, allocations: 0 / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3347, allocations: 237.5 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3348, allocations: 0 / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.3348, allocations: 8 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3348, allocations: 0 / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3348, allocations: 4 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3349, allocations: 7.984 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3349, allocations: 4 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.3353, allocations: 335.3 kB / 1.095 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.3354, allocations: 104.9 kB / 1.095 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3354, allocations: 4 kB / 1.095 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.3355, allocations: 11.98 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.3356, allocations: 11.98 kB / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.3356, allocations: 8 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001296/0.3357, allocations: 160.2 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3357, allocations: 0 / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002677/0.336, allocations: 44 kB / 1.096 GB, free: 8.977 MB / 0.8575 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.0001923/0.3362, allocations: 139.1 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.3365, allocations: 235.3 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.3366, allocations: 0 / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3367, allocations: 179.5 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.337, allocations: 13.25 kB / 1.096 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.3376, allocations: 360.4 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3378, allocations: 0.7236 MB / 1.097 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.3379, allocations: 7.984 kB / 1.097 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.3379, allocations: 11.44 kB / 1.097 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3379, allocations: 4 kB / 1.097 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of Templates: time 0.004514/0.3424, allocations: 1.654 MB / 1.099 GB, free: 5.594 MB / 0.8575 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