Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_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.006999/0.006999, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001663/0.001663, allocations: 193.5 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 1.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.337/2.337, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.84 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6834, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002572/0.686, allocations: 1.61 MB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.6869, allocations: 0.5376 MB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.6869, allocations: 4 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.687, allocations: 7.922 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.6873, allocations: 39.66 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.6874, allocations: 43.94 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.6875, allocations: 103.6 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.6876, allocations: 31.97 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.6878, allocations: 47.78 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.6879, allocations: 51.81 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.6879, allocations: 8 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.688, allocations: 8 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.327e-05/0.688, allocations: 23.92 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.6881, allocations: 43.83 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.6882, allocations: 90.3 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6882, allocations: 4 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6882, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.6882, allocations: 0 / 1.169 GB, free: 1.156 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000682/0.6889, allocations: 408 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.689, allocations: 12.92 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.689, allocations: 38.73 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.689, allocations: 12.89 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.6892, allocations: 180.3 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.6892, allocations: 12.34 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.6892, allocations: 8.375 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.6894, allocations: 87.88 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6894, allocations: 3.938 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.6894, allocations: 0 / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6895, allocations: 4 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.6896, allocations: 47.97 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.69, allocations: 340.7 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.6903, allocations: 110.6 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.6904, allocations: 44.84 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.6905, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.6907, allocations: 107.2 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.6907, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0003208/0.691, allocations: 145.6 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.691, allocations: 51.41 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.6911, allocations: 133.7 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.6912, allocations: 29.7 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.6912, allocations: 92.33 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.6913, allocations: 39.77 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.6913, allocations: 33.7 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6914, allocations: 318.8 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.6915, allocations: 24 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.6915, allocations: 36.8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.6917, allocations: 62.34 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6917, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001784/0.6919, allocations: 113.6 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.6919, allocations: 4 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6919, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6919, allocations: 4 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.692, allocations: 23.92 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.692, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.6921, allocations: 15.86 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.6922, allocations: 4 kB / 1.171 GB, free: 14.43 MB / 0.9044 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 8.548e-05/0.6923, allocations: 119.8 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.6923, allocations: 11.94 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.6926, allocations: 150 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6926, allocations: 4 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.6926, allocations: 0 / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6926, allocations: 3.938 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.6928, allocations: 213.5 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6928, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.6929, allocations: 15.98 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.6929, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.6929, allocations: 8 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6929, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6929, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.6932, allocations: 170.2 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.6932, allocations: 92.98 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.6932, allocations: 4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.6933, allocations: 7.984 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.6934, allocations: 15.92 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.6934, allocations: 8 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.6935, allocations: 99.2 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6935, allocations: 4 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002165/0.6937, allocations: 20 kB / 1.172 GB, free: 13.4 MB / 0.9044 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.0004818/0.6942, allocations: 0.7067 MB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.6944, allocations: 81.09 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6944, allocations: 4 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.6945, allocations: 59.86 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.6947, allocations: 13.06 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.6961, allocations: 1.452 MB / 1.174 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.6963, allocations: 0.6963 MB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.727e-05/0.6964, allocations: 16.55 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.6964, allocations: 31.42 kB / 1.175 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of SimCode: time 1.523e-06/0.6964, allocations: 0 / 1.175 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.7136, allocations: 2.297 MB / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.954, allocations: 13.45 kB / 1.177 GB, free: 8.043 MB / 0.9044 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches