Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001194/0.001194, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.171/1.171, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.024/2.024, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4819, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001782/0.4837, allocations: 1.254 MB / 0.9509 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006912/0.4844, allocations: 0.7362 MB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.4844, allocations: 1.344 kB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.4845, allocations: 0 / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.4846, allocations: 14.33 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.4848, allocations: 54.03 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.4848, allocations: 26.72 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.4849, allocations: 3.406 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.4849, allocations: 14.36 kB / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.485, allocations: 13.11 kB / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.4851, allocations: 1.656 kB / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.852e-05/0.4851, allocations: 12.69 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.462e-05/0.4852, allocations: 6.516 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.4852, allocations: 7.953 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.783e-05/0.4853, allocations: 21.58 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4853, allocations: 0 / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4853, allocations: 0 / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.4853, allocations: 1.312 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00021/0.4855, allocations: 329.4 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.4855, allocations: 10.34 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.152e-05/0.4855, allocations: 106 kB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.4856, allocations: 81.44 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.555e-05/0.4857, allocations: 257.7 kB / 0.9526 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4857, allocations: 150.9 kB / 0.9527 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.4857, allocations: 156.1 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.81e-05/0.4857, allocations: 102.9 kB / 0.953 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4858, allocations: 79.22 kB / 0.9531 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.4858, allocations: 151.8 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4858, allocations: 154.6 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.672e-05/0.4858, allocations: 155.7 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.486, allocations: 453.5 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.085e-05/0.486, allocations: 165.1 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.486, allocations: 89.69 kB / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.486, allocations: 79.22 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.4861, allocations: 111.3 kB / 0.9544 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.4861, allocations: 0 / 0.9544 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.437e-05/0.4861, allocations: 38.75 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.4861, allocations: 126.7 kB / 0.9545 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.701e-05/0.4862, allocations: 110 kB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.4862, allocations: 27.2 kB / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.749e-05/0.4863, allocations: 80.14 kB / 0.9547 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-06/0.4863, allocations: 1.344 kB / 0.9547 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.4863, allocations: 17.66 kB / 0.9547 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.931e-05/0.4863, allocations: 316.1 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.4863, allocations: 2.469 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.4864, allocations: 7.5 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.4864, allocations: 27.78 kB / 0.9551 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4864, allocations: 0 / 0.9551 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.933e-05/0.4865, allocations: 40.33 kB / 0.9551 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.4865, allocations: 11.44 kB / 0.9551 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4865, allocations: 0 / 0.9551 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.4865, allocations: 1.125 kB / 0.9551 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.4865, allocations: 0 / 0.9551 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4865, allocations: 5.391 kB / 0.9551 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.4866, allocations: 1.188 kB / 0.9551 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.4866, allocations: 5.406 kB / 0.9551 GB, free: 3.926 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 4.267e-05/0.4867, allocations: 183.4 kB / 0.9553 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.4867, allocations: 110 kB / 0.9554 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.4867, allocations: 123 kB / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.4868, allocations: 177.5 kB / 0.9557 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/0.4868, allocations: 185.4 kB / 0.9559 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.4868, allocations: 181.7 kB / 0.956 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.4869, allocations: 408 kB / 0.9564 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.4869, allocations: 101.2 kB / 0.9565 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.4869, allocations: 106.4 kB / 0.9566 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/0.487, allocations: 189.6 kB / 0.9568 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.487, allocations: 181.6 kB / 0.957 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/0.487, allocations: 184.2 kB / 0.9572 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-05/0.487, allocations: 177.8 kB / 0.9573 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.382e-05/0.4871, allocations: 308.1 kB / 0.9576 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.4871, allocations: 191.7 kB / 0.9578 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.4871, allocations: 185.5 kB / 0.958 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.4872, allocations: 101 kB / 0.9581 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.4872, allocations: 177.7 kB / 0.9583 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.4872, allocations: 110.4 kB / 0.9584 GB, free: 428 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.4873, allocations: 83.59 kB / 0.9584 GB, free: 348 kB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.4873, allocations: 0 / 0.9584 GB, free: 348 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002164/0.4875, allocations: 8.062 kB / 0.9584 GB, free: 344 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003495/0.4878, allocations: 0.8212 MB / 0.9593 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.21e-05/0.4879, allocations: 12.19 kB / 0.9593 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4879, allocations: 0 / 0.9593 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.4879, allocations: 1 kB / 0.9593 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4882, allocations: 453.7 kB / 0.9597 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007854/0.489, allocations: 1.3 MB / 0.961 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.4892, allocations: 0.6841 MB / 0.9616 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.355e-05/0.4892, allocations: 1.062 kB / 0.9616 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.4892, allocations: 8.719 kB / 0.9616 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.4892, allocations: 0 / 0.9616 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.5064, allocations: 1.264 MB / 0.9629 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.398/6.904, allocations: 10.14 kB / 0.9629 GB, free: 12.32 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches