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.00709/0.00709, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001677/0.001677, allocations: 197.8 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.229/2.229, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.69 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2242, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002146/0.2264, allocations: 1.256 MB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000966/0.2274, allocations: 0.7469 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.2275, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.2275, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.2277, allocations: 11.94 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.2279, allocations: 43.86 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.228, allocations: 23.97 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.228, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.2281, allocations: 15.94 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.2282, allocations: 15.91 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.2282, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.373e-05/0.2283, allocations: 12 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.2283, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.2283, allocations: 15.91 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.132e-05/0.2284, allocations: 20.2 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2285, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2285, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2285, allocations: 3.938 kB / 1.09 GB, free: 15.78 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002848/0.2288, allocations: 331.5 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2288, allocations: 8.031 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.2288, allocations: 106 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.2289, allocations: 80.22 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.229, allocations: 239.6 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.2291, allocations: 158.9 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.2291, allocations: 154.9 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.172e-05/0.2292, allocations: 111 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.2292, allocations: 79.22 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.2293, allocations: 154.5 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.2293, allocations: 150.6 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.2294, allocations: 150.6 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.2296, allocations: 461.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.2297, allocations: 169.1 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.2297, allocations: 80.14 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.2297, allocations: 75.28 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.2298, allocations: 113.8 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2298, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.431e-05/0.2299, allocations: 37.53 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.2299, allocations: 130.7 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.23, allocations: 109.8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.23, allocations: 25.7 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.2301, allocations: 80.19 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.2301, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.2301, allocations: 29.7 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.2302, allocations: 314.8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.2302, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.2303, allocations: 12.23 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.2303, allocations: 16.86 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2303, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001027/0.2304, allocations: 41.62 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2305, allocations: 17.78 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2305, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2305, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.2305, allocations: 3.938 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2305, allocations: 3.984 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.2306, allocations: 4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.2306, allocations: 3.984 kB / 1.093 GB, free: 12.15 MB / 0.8575 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 7.77e-05/0.2307, allocations: 185.1 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.2307, allocations: 108.9 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.2308, allocations: 112.5 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.552e-05/0.2308, allocations: 180.2 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-05/0.2309, allocations: 184.2 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.461e-05/0.2309, allocations: 176.3 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.2311, allocations: 405.2 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/0.2312, allocations: 108.9 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.2312, allocations: 101.1 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.962e-05/0.2312, allocations: 188.1 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.2313, allocations: 180.3 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.685e-05/0.2314, allocations: 180.2 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-05/0.2314, allocations: 188.2 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.2315, allocations: 303.7 kB / 1.095 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.2316, allocations: 190.1 kB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.2317, allocations: 188.1 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.2317, allocations: 101 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.2318, allocations: 180.3 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.2318, allocations: 108.9 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.2319, allocations: 87.27 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2319, allocations: 0 / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002204/0.2321, allocations: 4 kB / 1.096 GB, free: 8.535 MB / 0.8575 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.0004543/0.2326, allocations: 0.8295 MB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.287e-05/0.2326, allocations: 7.938 kB / 1.097 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2326, allocations: 0 / 1.097 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.2326, allocations: 4 kB / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.2329, allocations: 455.8 kB / 1.097 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.2338, allocations: 1.295 MB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.234, allocations: 0.6768 MB / 1.099 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.234, allocations: 3.938 kB / 1.099 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.234, allocations: 7.438 kB / 1.099 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.234, allocations: 0 / 1.099 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.2513, allocations: 1.291 MB / 1.101 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.127, allocations: 15.83 kB / 1.101 GB, free: 3.984 MB / 0.8575 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