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.007707/0.007707, allocations: 96.25 kB / 15.73 MB, free: 6.043 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.00176/0.00176, allocations: 204.2 kB / 16.68 MB, free: 5.969 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.686/2.686, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 71.88 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3099, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002873/0.3128, allocations: 1.604 MB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3139, allocations: 0.6544 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.314, allocations: 3.938 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.3142, allocations: 75.77 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.3145, allocations: 99.67 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.3148, allocations: 99.75 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.315, allocations: 131.6 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.903e-05/0.3151, allocations: 11.98 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.3153, allocations: 63.88 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.3154, allocations: 103.8 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.3155, allocations: 11.94 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3156, allocations: 83.91 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.3157, allocations: 39.84 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.3157, allocations: 51.62 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.316, allocations: 171.3 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.316, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.316, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.316, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 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.0006941/0.3167, allocations: 484.2 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3167, allocations: 8.031 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.3168, allocations: 20.83 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.317, allocations: 220 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.317, allocations: 4.375 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.317, allocations: 8.312 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3173, allocations: 127.5 kB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3173, allocations: 0 / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3173, allocations: 3.984 kB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3173, allocations: 0 / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.3174, allocations: 79.89 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.3179, allocations: 412.9 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.318, allocations: 101.1 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3181, allocations: 69.83 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3182, allocations: 8 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.3184, allocations: 174.7 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3184, allocations: 0 / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005231/0.3189, allocations: 343 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.319, allocations: 106.8 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.3192, allocations: 212.1 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3192, allocations: 37.7 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.3193, allocations: 112.1 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.3193, allocations: 39.81 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.3194, allocations: 37.66 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3195, allocations: 326.8 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-05/0.3196, allocations: 63.97 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.243e-05/0.3197, allocations: 73.69 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.3199, allocations: 201 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3199, allocations: 0 / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003383/0.3203, allocations: 263.2 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.3203, allocations: 37.69 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3203, allocations: 0 / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3203, allocations: 0 / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3204, allocations: 19.98 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3204, allocations: 0 / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3206, allocations: 11.88 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3206, allocations: 4 kB / 1.227 GB, free: 6.789 MB / 0.9825 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.0001412/0.3207, allocations: 194.2 kB / 1.227 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.3208, allocations: 19.86 kB / 1.227 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.321, allocations: 95.06 kB / 1.227 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.321, allocations: 4.375 kB / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.321, allocations: 0 / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.321, allocations: 0 / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.3212, allocations: 237.5 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3212, allocations: 0 / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.3212, allocations: 8 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3212, allocations: 0 / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.3213, allocations: 12.08 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3213, allocations: 7.875 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3213, allocations: 96 / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.3217, allocations: 339.4 kB / 1.228 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.301e-05/0.3218, allocations: 116.9 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.3218, allocations: 4 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3219, allocations: 11.98 kB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.3219, allocations: 7.984 kB / 1.228 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.322, allocations: 4 kB / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001279/0.3221, allocations: 164.4 kB / 1.228 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3221, allocations: 0 / 1.228 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000269/0.3224, allocations: 44 kB / 1.228 GB, free: 5.426 MB / 0.9825 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.0002036/0.3226, allocations: 136.8 kB / 1.228 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.3229, allocations: 211.3 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3229, allocations: 0 / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.3231, allocations: 131.4 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.3233, allocations: 12 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.3239, allocations: 360 kB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3242, allocations: 0.7197 MB / 1.23 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.174e-05/0.3242, allocations: 7.984 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.3243, allocations: 11.44 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3243, allocations: 0 / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of Templates: time 0.004599/0.3289, allocations: 1.675 MB / 1.232 GB, free: 2.113 MB / 0.9825 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=480 -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