Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001755/0.001755, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002182/0.002182, allocations: 190 kB / 16.25 MB, free: 6.645 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 469.8 MB / 0.742 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 65.31 kB / 0.908 GB, free: 34.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3245, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003048/0.3276, allocations: 1.667 MB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3288, allocations: 0.6428 MB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.3289, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.3291, allocations: 71.83 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.3294, allocations: 99.73 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.3297, allocations: 84.84 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3299, allocations: 135.6 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.33, allocations: 12 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3302, allocations: 67.8 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3303, allocations: 107.8 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.3304, allocations: 11.98 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3305, allocations: 79.88 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.3306, allocations: 39.84 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.3307, allocations: 55.61 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.3309, allocations: 159.8 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3309, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3309, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3309, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 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.0007525/0.3317, allocations: 480.4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3317, allocations: 12.03 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.3318, allocations: 16.75 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.332, allocations: 215.9 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3321, allocations: 4.375 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3321, allocations: 4.375 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.3323, allocations: 127.6 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.3323, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3324, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3324, allocations: 11.94 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.3325, allocations: 71.95 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.333, allocations: 408.8 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3332, allocations: 125.1 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3333, allocations: 81.8 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3333, allocations: 3.984 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.3337, allocations: 171.4 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3337, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005382/0.3342, allocations: 335 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.3343, allocations: 106.8 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.3345, allocations: 220.1 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3346, allocations: 25.7 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.3347, allocations: 112.1 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.3347, allocations: 35.7 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.3348, allocations: 29.7 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3349, allocations: 338.7 kB / 1.069 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/0.335, allocations: 59.97 kB / 1.069 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3351, allocations: 82.53 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.3354, allocations: 193 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3354, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003366/0.3357, allocations: 267.4 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3358, allocations: 38.78 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3358, allocations: 64 / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.3358, allocations: 8 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3359, allocations: 19.92 kB / 1.07 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3359, allocations: 4 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.336, allocations: 4 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.3361, allocations: 8.234 kB / 1.07 GB, free: 7.527 MB / 0.8262 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.0001652/0.3362, allocations: 175.5 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.3363, allocations: 23.75 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.3365, allocations: 106.9 kB / 1.07 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3365, allocations: 0 / 1.07 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3365, allocations: 4 kB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3365, allocations: 0 / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.3368, allocations: 233.5 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3368, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.3368, allocations: 8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3368, allocations: 4 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3369, allocations: 7.984 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3369, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3369, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.3373, allocations: 352.9 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.3374, allocations: 100.9 kB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.3374, allocations: 8 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.3375, allocations: 7.984 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3376, allocations: 11.98 kB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3376, allocations: 4 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001436/0.3378, allocations: 171 kB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3378, allocations: 0 / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002487/0.338, allocations: 36 kB / 1.071 GB, free: 6.184 MB / 0.8262 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.0002034/0.3383, allocations: 136.8 kB / 1.071 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.3386, allocations: 251.2 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3386, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.3388, allocations: 163.3 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.3391, allocations: 12.09 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.3397, allocations: 389.9 kB / 1.072 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3401, allocations: 0.7274 MB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.579e-05/0.3401, allocations: 8 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.3402, allocations: 15.38 kB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3402, allocations: 4 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.004852/0.345, allocations: 1.635 MB / 1.074 GB, free: 2.793 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches