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.001491/0.001491, 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.001423/0.001423, allocations: 189.5 kB / 16.25 MB, free: 6.637 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.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.679/2.679, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 64.08 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.705, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003063/0.7081, allocations: 1.675 MB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.7094, allocations: 0.6466 MB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.7094, allocations: 0 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.7096, allocations: 75.81 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.7099, allocations: 91.81 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.7102, allocations: 83.84 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.7104, allocations: 135.6 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.7105, allocations: 8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.7106, allocations: 75.8 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.7108, allocations: 103.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.7109, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.711, allocations: 83.86 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.7111, allocations: 31.91 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.7111, allocations: 59.59 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.7114, allocations: 165.5 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7114, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7114, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.7114, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 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.000796/0.7122, allocations: 484.3 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7123, allocations: 12.03 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.7123, allocations: 16.75 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.7126, allocations: 211.9 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.7126, allocations: 384 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.7127, allocations: 8.375 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.7129, allocations: 131.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7129, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.7129, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.713, allocations: 7.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.7131, allocations: 67.95 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.7136, allocations: 404.9 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.7138, allocations: 125.2 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.7139, allocations: 77.8 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.7139, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.7143, allocations: 174.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.7143, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005584/0.7149, allocations: 331 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.715, allocations: 110.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.7152, allocations: 219.1 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.7153, allocations: 29.69 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.7153, allocations: 112.3 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.7154, allocations: 31.55 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.7155, allocations: 33.7 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7156, allocations: 334.8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/0.7157, allocations: 59.97 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.7158, allocations: 79.94 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.7161, allocations: 193.3 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.7161, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003637/0.7164, allocations: 271 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.7165, allocations: 41.69 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.7165, allocations: 4 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.7165, allocations: 4 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.7167, allocations: 11.98 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.7167, allocations: 4 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.7168, allocations: 7.938 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.7168, allocations: 4 kB / 1.023 GB, free: 11.6 MB / 0.7794 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.0001731/0.717, allocations: 183.4 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.717, allocations: 23.75 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.7173, allocations: 99.06 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7173, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.7173, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7173, allocations: 4 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.7175, allocations: 237.4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7175, allocations: 96 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.7176, allocations: 11.94 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.7176, allocations: 7.984 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.7177, allocations: 3.984 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.7177, allocations: 8 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7177, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.7181, allocations: 335.2 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.7183, allocations: 108.8 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.7183, allocations: 11.94 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.7184, allocations: 7.984 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.7185, allocations: 11.98 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.7185, allocations: 12.12 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001495/0.7187, allocations: 160.2 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7187, allocations: 4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002705/0.7189, allocations: 40 kB / 1.025 GB, free: 10.25 MB / 0.7794 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.0002278/0.7192, allocations: 137.9 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.7196, allocations: 239.3 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7196, allocations: 4 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.7198, allocations: 171.3 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.72, allocations: 14.48 kB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006775/0.7207, allocations: 384.5 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.7211, allocations: 0.7198 MB / 1.026 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.468e-05/0.7211, allocations: 11.94 kB / 1.026 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.7211, allocations: 19.38 kB / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7212, allocations: 0 / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.005011/0.7262, allocations: 1.633 MB / 1.028 GB, free: 6.859 MB / 0.7794 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=400 -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/jenkins/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