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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_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.007527/0.007527, allocations: 102.1 kB / 15.73 MB, free: 6.004 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.001634/0.001634, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.339/2.339, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.11 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7952, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003027/0.7983, allocations: 1.618 MB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.7995, allocations: 0.6349 MB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.7996, allocations: 4 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.7998, allocations: 75.81 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.8002, allocations: 104.8 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.8006, allocations: 99.7 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.8008, allocations: 135.6 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.8009, allocations: 7.984 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.8011, allocations: 79.8 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.8013, allocations: 107.8 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.8014, allocations: 4 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.8015, allocations: 75.94 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.8016, allocations: 31.84 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.8017, allocations: 59.66 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.802, allocations: 169.6 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.802, allocations: 0 / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.212e-06/0.802, allocations: 0 / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.802, allocations: 8 kB / 1.169 GB, free: 0.5977 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.0007306/0.8027, allocations: 480.3 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.8028, allocations: 12.62 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.8028, allocations: 34.75 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.8029, allocations: 16.75 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.8032, allocations: 213.5 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.8032, allocations: 384 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.8033, allocations: 8.375 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.8035, allocations: 137.3 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.8035, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.8035, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.8035, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.8037, allocations: 63.97 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.8042, allocations: 420.8 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.8043, allocations: 117.1 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.8045, allocations: 81.78 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.8045, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.8047, allocations: 174.8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.8048, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005163/0.8053, allocations: 331 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.8053, allocations: 110.8 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.8055, allocations: 214.6 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.8056, allocations: 25.7 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.8056, allocations: 112.3 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.8057, allocations: 39.44 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.8058, allocations: 37.7 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8059, allocations: 334.7 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.806, allocations: 59.97 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.8061, allocations: 77.69 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.8063, allocations: 193.4 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8063, allocations: 0 / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003099/0.8066, allocations: 267.1 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.8066, allocations: 45.69 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8067, allocations: 0 / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.8067, allocations: 4 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.8068, allocations: 11.94 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8068, allocations: 0 / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.8069, allocations: 19.83 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.8069, allocations: 4 kB / 1.173 GB, free: 12.69 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.0001545/0.8071, allocations: 179.5 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.8071, allocations: 23.81 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.8074, allocations: 103.1 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8074, allocations: 0 / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.8074, allocations: 0 / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.8074, allocations: 7.938 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.8076, allocations: 233.5 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8076, allocations: 0 / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.8077, allocations: 8 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.8077, allocations: 4 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.8077, allocations: 4 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.8077, allocations: 4 kB / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8077, allocations: 0 / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.8081, allocations: 331.3 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.8082, allocations: 116.7 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.8083, allocations: 8.125 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.8084, allocations: 12 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.8084, allocations: 7.984 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.8085, allocations: 11.98 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001303/0.8086, allocations: 156.2 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8086, allocations: 0 / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002586/0.8089, allocations: 56.02 kB / 1.174 GB, free: 11.33 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.0007507/0.8096, allocations: 0.8998 MB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.81, allocations: 235.3 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.81, allocations: 4 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.8101, allocations: 171.3 kB / 1.175 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.8104, allocations: 13.12 kB / 1.175 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.8127, allocations: 2.237 MB / 1.177 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.813, allocations: 0.7275 MB / 1.178 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.813, allocations: 8 kB / 1.178 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.8131, allocations: 43.42 kB / 1.178 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.8131, allocations: 0 / 1.178 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.8334, allocations: 3.533 MB / 1.182 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/8.111, allocations: 9.578 kB / 1.182 GB, free: 3.426 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > 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