Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_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.001185/0.001185, 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.001201/0.001201, allocations: 193.2 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.186/1.186, 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 11.0.1-master/package.mo): time 2.417/2.417, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 61.05 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2291, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002012/0.2312, allocations: 1.234 MB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.232, allocations: 0.7246 MB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.2321, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.2321, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.2323, allocations: 19.94 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.678e-05/0.2323, allocations: 4 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.2324, allocations: 11.97 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.2324, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.2325, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.2326, allocations: 11.92 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2326, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.615e-05/0.2326, allocations: 8 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.2327, allocations: 7.984 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.2327, allocations: 3.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.568e-05/0.2328, allocations: 15.98 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2328, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2328, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2328, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 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.0002759/0.2331, allocations: 323.8 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.2331, allocations: 12.03 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.2332, allocations: 114 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.2332, allocations: 76.22 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2334, allocations: 251.6 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.2334, allocations: 154.9 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.2335, allocations: 150.9 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.43e-05/0.2335, allocations: 105.5 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2335, allocations: 79.22 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.2336, allocations: 150.6 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.2336, allocations: 162.5 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.2337, allocations: 158.5 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.2339, allocations: 445.9 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.066e-05/0.234, allocations: 165.1 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.234, allocations: 88.14 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.234, allocations: 75.28 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.2341, allocations: 109.8 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.2341, allocations: 0 / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.073e-05/0.2341, allocations: 33.58 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.2342, allocations: 130.7 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.2343, allocations: 101.9 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2343, allocations: 25.7 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.2343, allocations: 84.12 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-06/0.2343, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.2343, allocations: 21.77 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.2344, allocations: 310.8 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-06/0.2344, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.2345, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/0.2345, allocations: 83.31 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.2345, allocations: 75.28 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.102e-05/0.2346, allocations: 29.64 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.2346, allocations: 87.22 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.2347, allocations: 79.27 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.567e-05/0.2347, allocations: 150.6 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.867e-05/0.2347, allocations: 83.22 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-05/0.2348, allocations: 158.6 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2349, allocations: 79.22 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.2349, allocations: 79.27 kB / 1.07 GB, free: 8.031 MB / 0.8262 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 8.608e-05/0.235, allocations: 260.4 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.2351, allocations: 109.1 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.2351, allocations: 116 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.746e-05/0.2352, allocations: 184.3 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-05/0.2352, allocations: 180.2 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-05/0.2353, allocations: 176.3 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.2355, allocations: 405.2 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/0.2355, allocations: 104.9 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.2355, allocations: 112.9 kB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.905e-05/0.2356, allocations: 188.1 kB / 1.071 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.2356, allocations: 180.3 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.834e-05/0.2357, allocations: 180.3 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.434e-05/0.2357, allocations: 180.2 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.2359, allocations: 311.8 kB / 1.072 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.2359, allocations: 178.1 kB / 1.072 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.236, allocations: 192.3 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.2361, allocations: 108.9 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.2361, allocations: 180.2 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.2362, allocations: 112.9 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.2362, allocations: 79.28 kB / 1.073 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2362, allocations: 0 / 1.073 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002397/0.2365, allocations: 0 / 1.073 GB, free: 4.348 MB / 0.8262 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.0004189/0.2369, allocations: 0.8209 MB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.525e-05/0.2369, allocations: 7.938 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2369, allocations: 0 / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.2369, allocations: 4 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2372, allocations: 458.4 kB / 1.074 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.2382, allocations: 1.567 MB / 1.076 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.2384, allocations: 0.6768 MB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.037e-05/0.2384, allocations: 0 / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.2385, allocations: 11.44 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2385, allocations: 0 / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.2546, allocations: 1.179 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.429/6.684, allocations: 7 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches