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.006378/0.006378, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001417/0.001416, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.252/2.252, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 63.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7793/0.781, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002539/0.7836, allocations: 1.602 MB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.7846, allocations: 0.6404 MB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.7847, allocations: 1.188 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.7849, allocations: 73.11 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.7852, allocations: 111.4 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.7856, allocations: 100.2 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.7858, allocations: 137.2 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.7859, allocations: 6.844 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.7861, allocations: 81.94 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.7863, allocations: 99.47 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.7863, allocations: 10.12 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.7864, allocations: 82.31 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.7865, allocations: 31.31 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.033e-05/0.7866, allocations: 61.81 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.7869, allocations: 158.7 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.7869, allocations: 4.594 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7869, allocations: 0 / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.7869, allocations: 0.75 kB / 1.091 GB, free: 3.414 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.0007284/0.7876, allocations: 483.5 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.7877, allocations: 9.219 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.7878, allocations: 42.62 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.7878, allocations: 16.78 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.7881, allocations: 212.5 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.7882, allocations: 2.531 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.7882, allocations: 8.734 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.7885, allocations: 132.4 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7885, allocations: 4.781 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.7885, allocations: 4.688 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.7885, allocations: 1.438 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.7887, allocations: 67.31 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.7891, allocations: 407.7 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.7893, allocations: 122.2 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.7894, allocations: 85 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.7894, allocations: 0.9688 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.7897, allocations: 170.4 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.7897, allocations: 0 / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.000543/0.7902, allocations: 340.8 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.7903, allocations: 111.9 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.7905, allocations: 214.4 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.7905, allocations: 31.08 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.7906, allocations: 115.9 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.7906, allocations: 34.48 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.7906, allocations: 31.75 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.7907, allocations: 338.2 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.7908, allocations: 57.59 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.7909, allocations: 76.31 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.7911, allocations: 197.4 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7911, allocations: 0 / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003362/0.7915, allocations: 266.4 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.7915, allocations: 40.44 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.7915, allocations: 0 / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7915, allocations: 1.5 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.7917, allocations: 20.97 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.7917, allocations: 1.375 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.7918, allocations: 15.28 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.7918, allocations: 4.688 kB / 1.094 GB, free: 0.7031 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.0001232/0.7919, allocations: 180.4 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.792, allocations: 22.2 kB / 1.094 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.7922, allocations: 97.73 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7922, allocations: 2.609 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7922, allocations: 0.9688 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7922, allocations: 0.75 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.7924, allocations: 233.2 kB / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.7924, allocations: 1.516 kB / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.7925, allocations: 13.84 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.7925, allocations: 4.719 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.7925, allocations: 4.688 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7925, allocations: 1 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7925, allocations: 5.094 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.7931, allocations: 338 kB / 1.095 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.7932, allocations: 111.9 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.7932, allocations: 5.062 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7933, allocations: 9.875 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.7934, allocations: 7.781 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.7934, allocations: 14.2 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001831/0.7936, allocations: 159.6 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7936, allocations: 0 / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003276/0.794, allocations: 48.55 kB / 1.095 GB, free: 15.84 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.0008591/0.7948, allocations: 0.9005 MB / 1.096 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.7953, allocations: 248.9 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7953, allocations: 1.219 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.7955, allocations: 164.2 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.7957, allocations: 11.56 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.7983, allocations: 2.229 MB / 1.099 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.7986, allocations: 0.7276 MB / 1.099 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.7986, allocations: 5.219 kB / 1.099 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.7987, allocations: 43.97 kB / 1.099 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of SimCode: time 7.02e-07/0.7987, allocations: 4 kB / 1.099 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.8197, allocations: 3.517 MB / 1.103 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/8.487, allocations: 15.09 kB / 1.103 GB, free: 12.09 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