Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.00696/0.00696, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.00141/0.00141, allocations: 189.7 kB / 16.67 MB, free: 5.973 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.455/1.455, 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 11.1.0-maint.11.x/package.mo): time 3.558/3.558, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 63.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7841, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002675/0.7868, allocations: 1.585 MB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.7878, allocations: 0.5542 MB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.7878, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.7878, allocations: 7.922 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.7881, allocations: 40.95 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.7882, allocations: 43.89 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.7884, allocations: 107.6 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.7885, allocations: 23.92 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.7886, allocations: 43.89 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.7887, allocations: 55.77 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.7888, allocations: 8 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.7888, allocations: 12 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.7888, allocations: 23.97 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.157e-05/0.7889, allocations: 39.8 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.7891, allocations: 99.2 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7891, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7891, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7891, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00076/0.7898, allocations: 407.1 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.7899, allocations: 12.03 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.7899, allocations: 38.73 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.79, allocations: 8.891 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.7901, allocations: 188.2 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.7902, allocations: 4.375 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.7902, allocations: 12.36 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.7904, allocations: 85.72 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7904, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.7904, allocations: 7.984 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7904, allocations: 4 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.7905, allocations: 47.97 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.7911, allocations: 344.6 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.7914, allocations: 106.7 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.7915, allocations: 44.84 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.7915, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.7917, allocations: 107.2 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.7917, allocations: 0 / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0003403/0.7921, allocations: 145.6 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.7921, allocations: 51.41 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.7923, allocations: 137.7 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.7923, allocations: 33.64 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.7923, allocations: 88.38 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.7924, allocations: 35.83 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.7925, allocations: 29.7 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7926, allocations: 318.8 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.7927, allocations: 28 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.7927, allocations: 31.98 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.7929, allocations: 63.09 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7929, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000201/0.7931, allocations: 109.6 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.7931, allocations: 4 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.7931, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.7931, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.7933, allocations: 27.92 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7933, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.7934, allocations: 15.86 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.7934, allocations: 4 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001048/0.7935, allocations: 122.4 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.7935, allocations: 11.94 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.7938, allocations: 146.8 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.7938, allocations: 4 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.7939, allocations: 3.938 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.7939, allocations: 7.922 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.7941, allocations: 213.5 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7941, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.7942, allocations: 19.98 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7942, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.7942, allocations: 8 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7942, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7942, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.7945, allocations: 166 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.7946, allocations: 96.92 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.7946, allocations: 0 / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.7947, allocations: 15.98 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.7948, allocations: 15.92 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.7948, allocations: 8 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.71e-05/0.7949, allocations: 95.27 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7949, allocations: 0 / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002167/0.7951, allocations: 20 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005919/0.7957, allocations: 0.7076 MB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.7959, allocations: 83.97 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7959, allocations: 0 / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.741e-05/0.796, allocations: 51.92 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.7962, allocations: 9.141 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.7978, allocations: 1.468 MB / 1.228 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.7981, allocations: 0.704 MB / 1.229 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.951e-05/0.7981, allocations: 12.55 kB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.7982, allocations: 31.42 kB / 1.229 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.7982, allocations: 0 / 1.229 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.8211, allocations: 2.309 MB / 1.231 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.92, allocations: 0 / 1.231 GB, free: 6.254 MB / 0.9512 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches