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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009993/0.01, allocations: 102.8 kB / 15.73 MB, free: 6.047 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.002057/0.002057, allocations: 189 kB / 16.67 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 2.217/2.217, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.767/2.767, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522/1.524, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.005094/1.529, allocations: 1.609 MB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001834/1.531, allocations: 0.6318 MB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/1.531, allocations: 0.7812 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000293/1.531, allocations: 81.53 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005282/1.532, allocations: 107.3 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/1.533, allocations: 98.53 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/1.533, allocations: 135.5 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/1.533, allocations: 11.48 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/1.534, allocations: 75.33 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/1.534, allocations: 105.5 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/1.534, allocations: 6.156 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/1.534, allocations: 83.34 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/1.534, allocations: 30.36 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/1.534, allocations: 65.28 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004697/1.535, allocations: 168.4 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.535, allocations: 0 / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.106e-06/1.535, allocations: 0.8438 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.257e-06/1.535, allocations: 0 / 1.091 GB, free: 3.383 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.001134/1.536, allocations: 479.5 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 9.266e-05/1.536, allocations: 9.031 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/1.536, allocations: 35.22 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.526e-05/1.536, allocations: 16.67 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/1.537, allocations: 219.7 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/1.537, allocations: 7.062 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/1.537, allocations: 4.312 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/1.537, allocations: 128.6 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/1.537, allocations: 0 / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/1.537, allocations: 1.688 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/1.537, allocations: 1.969 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/1.538, allocations: 73.92 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/1.538, allocations: 412 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/1.539, allocations: 118 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/1.539, allocations: 80.89 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/1.539, allocations: 5.969 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/1.539, allocations: 170.4 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 3.947e-06/1.539, allocations: 7.922 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.001136/1.541, allocations: 328.9 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.541, allocations: 112 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/1.541, allocations: 214.8 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/1.541, allocations: 30.77 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/1.541, allocations: 127.3 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.26e-05/1.541, allocations: 31.75 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.542, allocations: 26.75 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.542, allocations: 334 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/1.542, allocations: 61.67 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/1.542, allocations: 76.52 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/1.543, allocations: 201.2 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.543, allocations: 0 / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007878/1.543, allocations: 265.7 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.977e-05/1.543, allocations: 36.95 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.543, allocations: 0 / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.544, allocations: 1.562 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/1.544, allocations: 13.27 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.544, allocations: 1.703 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/1.544, allocations: 18.7 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/1.544, allocations: 12.91 kB / 1.094 GB, free: 0.6758 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.0002619/1.544, allocations: 176.7 kB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/1.544, allocations: 21.5 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/1.545, allocations: 99.27 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/1.545, allocations: 1.375 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.545, allocations: 0.6562 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.545, allocations: 1.531 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/1.545, allocations: 237.3 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.545, allocations: 1.031 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/1.545, allocations: 9.703 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.545, allocations: 0.9375 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/1.545, allocations: 8.688 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.545, allocations: 1.5 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.545, allocations: 1.312 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/1.546, allocations: 337.1 kB / 1.095 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/1.547, allocations: 111.9 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/1.547, allocations: 8.297 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/1.547, allocations: 7.594 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.547, allocations: 11.41 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/1.547, allocations: 5.922 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002931/1.547, allocations: 165 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.547, allocations: 0 / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005598/1.548, allocations: 42.36 kB / 1.095 GB, free: 15.82 MB / 0.8731 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.001523/1.549, allocations: 0.8961 MB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007076/1.55, allocations: 249.8 kB / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.55, allocations: 0 / 1.096 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/1.551, allocations: 173.9 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/1.551, allocations: 12.3 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/1.556, allocations: 2.232 MB / 1.099 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/1.557, allocations: 0.7306 MB / 1.099 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.995e-05/1.557, allocations: 9.516 kB / 1.099 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.557, allocations: 40.39 kB / 1.099 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of SimCode: time 1.653e-06/1.557, allocations: 0 / 1.099 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3498/1.907, allocations: 3.589 MB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/19.72, allocations: 7.984 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > 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/jenkins1/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