Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00117/0.00117, allocations: 104.6 kB / 16.41 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.001219/0.001219, allocations: 183 kB / 17.34 MB, free: 5.734 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.352/1.352, 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 10.1.1-maint.10.0.x/package.mo): time 2.453/2.453, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.834, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00291/0.837, allocations: 1.605 MB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.8383, allocations: 0.6465 MB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.8384, allocations: 0 / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.8385, allocations: 79.81 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.8389, allocations: 107.6 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.8393, allocations: 91.77 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.8395, allocations: 131.7 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.8396, allocations: 12 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.8398, allocations: 75.78 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.8401, allocations: 103.8 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.8401, allocations: 8 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.8402, allocations: 83.8 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.8403, allocations: 31.92 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.456e-05/0.8404, allocations: 59.58 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.8407, allocations: 167.3 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8407, allocations: 4 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8407, allocations: 0 / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8407, allocations: 0 / 1.17 GB, free: 0.6406 MB / 0.8887 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.0007342/0.8414, allocations: 482.2 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.8415, allocations: 8.922 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.8415, allocations: 16.75 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.8418, allocations: 213.5 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.8419, allocations: 12.31 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.8419, allocations: 8.312 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.8421, allocations: 133.4 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8422, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.8422, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8422, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.8423, allocations: 71.91 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.8428, allocations: 412.9 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.843, allocations: 113.1 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.8431, allocations: 81.78 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.8431, allocations: 4 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.8433, allocations: 170.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.8433, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005104/0.8439, allocations: 339.2 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.8439, allocations: 110.8 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.8441, allocations: 215.1 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.8442, allocations: 33.7 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.8442, allocations: 116.1 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.8443, allocations: 31.55 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.8443, allocations: 33.61 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8445, allocations: 330.8 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.8446, allocations: 63.97 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.8447, allocations: 73.69 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.8449, allocations: 193 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8449, allocations: 4 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003263/0.8452, allocations: 271.3 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.8453, allocations: 41.69 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8453, allocations: 0 / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.8453, allocations: 0 / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.8454, allocations: 12 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8454, allocations: 0 / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.8455, allocations: 19.77 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.8455, allocations: 4 kB / 1.174 GB, free: 12.78 MB / 0.9044 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.0001484/0.8457, allocations: 187.5 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.8457, allocations: 15.81 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.846, allocations: 103.1 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.846, allocations: 4 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.846, allocations: 0 / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.846, allocations: 0 / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.8462, allocations: 233.5 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8462, allocations: 96 / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.8463, allocations: 19.94 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8463, allocations: 0 / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.8463, allocations: 4 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8463, allocations: 0 / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8463, allocations: 0 / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.8467, allocations: 335.3 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.8468, allocations: 108.8 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.8469, allocations: 8 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.847, allocations: 8 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.847, allocations: 11.98 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.8471, allocations: 7.984 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001308/0.8472, allocations: 156.5 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8472, allocations: 0 / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002661/0.8475, allocations: 55.89 kB / 1.175 GB, free: 11.43 MB / 0.9044 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.000202/0.8477, allocations: 135.1 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.848, allocations: 239.3 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.848, allocations: 0 / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.8482, allocations: 167.5 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.8484, allocations: 17.25 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.8491, allocations: 380.7 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.8494, allocations: 0.7274 MB / 1.177 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.8494, allocations: 19.42 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8494, allocations: 0 / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of Templates: time 0.004081/0.8535, allocations: 1.862 MB / 1.178 GB, free: 7.816 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches