Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.007085/0.007084, allocations: 102 kB / 15.73 MB, free: 5.988 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.001631/0.001631, allocations: 196 kB / 16.67 MB, free: 5.926 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.27 kB / 0.9504 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2321, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002108/0.2342, allocations: 1.231 MB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009625/0.2352, allocations: 0.7332 MB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.2352, allocations: 0 / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.2353, allocations: 0 / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.2355, allocations: 15.92 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.311e-05/0.2356, allocations: 8 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.312e-05/0.2356, allocations: 11.98 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.2357, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.2357, allocations: 4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.2358, allocations: 9.406 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.2358, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.235e-05/0.2359, allocations: 7.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.2359, allocations: 11.98 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.236, allocations: 7.922 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.691e-05/0.236, allocations: 8 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2361, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2361, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2361, allocations: 4 kB / 1.089 GB, free: 15.92 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.000289/0.2364, allocations: 322.4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2364, allocations: 12.03 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.2365, allocations: 110 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.2365, allocations: 76.22 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2367, allocations: 243.6 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.2367, allocations: 150.9 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.2368, allocations: 154.9 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.91e-05/0.2368, allocations: 106.9 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.2369, allocations: 83.16 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.2369, allocations: 158.5 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.237, allocations: 154.6 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.237, allocations: 154.6 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.2373, allocations: 438 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.416e-05/0.2373, allocations: 177.1 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.2374, allocations: 80.14 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.2374, allocations: 75.28 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.2375, allocations: 113.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.2375, allocations: 3.938 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.61e-05/0.2375, allocations: 29.64 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.2376, allocations: 130.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.2377, allocations: 101.8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2377, allocations: 25.7 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.2377, allocations: 88.12 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.2378, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.2378, allocations: 13.72 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.2379, allocations: 314.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.2379, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.2379, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.2379, allocations: 79.28 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/0.238, allocations: 75.28 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.09e-05/0.238, allocations: 25.7 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.238, allocations: 91.25 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.2381, allocations: 87.25 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.725e-05/0.2381, allocations: 150.6 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.977e-05/0.2382, allocations: 75.28 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.863e-05/0.2382, allocations: 158.5 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.2383, allocations: 79.28 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.2384, allocations: 83.22 kB / 1.094 GB, free: 11.54 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 (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 prepare postOptimizeDAE: time 9.42e-05/0.2385, allocations: 260.4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.2385, allocations: 109.1 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.2386, allocations: 116.1 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-05/0.2386, allocations: 180.3 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-05/0.2387, allocations: 180.3 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.365e-05/0.2387, allocations: 184.4 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2389, allocations: 401.2 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/0.239, allocations: 112.9 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.239, allocations: 105 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.288e-05/0.2391, allocations: 188.2 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.2391, allocations: 184.2 kB / 1.095 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.625e-05/0.2392, allocations: 176.3 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.045e-05/0.2392, allocations: 184.2 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.2394, allocations: 303.8 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.2394, allocations: 190 kB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.2395, allocations: 180.2 kB / 1.096 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.2396, allocations: 112.9 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.2396, allocations: 176.3 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.2397, allocations: 105 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.2397, allocations: 79.28 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2397, allocations: 7.938 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002576/0.24, allocations: 3.938 kB / 1.097 GB, free: 7.852 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.0004874/0.2405, allocations: 0.8243 MB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 3.92e-05/0.2405, allocations: 0 / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2405, allocations: 0 / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-06/0.2405, allocations: 3.938 kB / 1.098 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2409, allocations: 459.7 kB / 1.098 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2419, allocations: 1.567 MB / 1.1 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.2421, allocations: 0.6768 MB / 1.1 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.2421, allocations: 4 kB / 1.1 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.2421, allocations: 7.438 kB / 1.1 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2421, allocations: 0 / 1.1 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.2593, allocations: 1.198 MB / 1.102 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/7.458, allocations: 21.77 kB / 1.102 GB, free: 3.148 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches