Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.8 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 68.27 kB / 1.117 GB, free: 39.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002454/0.3566, allocations: 1.263 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3579, allocations: 0.8025 MB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.3579, allocations: 0 / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.358, allocations: 4 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.3582, allocations: 19.91 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.358e-05/0.3583, allocations: 7.938 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.3584, allocations: 8 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.3584, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.3585, allocations: 4 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.3586, allocations: 16.66 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3586, allocations: 0 / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.3587, allocations: 4 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.3587, allocations: 11.92 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.3588, allocations: 4 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.566e-05/0.3589, allocations: 19.72 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3589, allocations: 7.938 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3589, allocations: 0 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.3589, allocations: 0 / 1.286 GB, free: 9.457 MB / 0.9825 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.0003865/0.3593, allocations: 241.9 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3593, allocations: 12.03 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.257e-05/0.3594, allocations: 106 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.3595, allocations: 80.17 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.3596, allocations: 193.8 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.3597, allocations: 150.9 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.3598, allocations: 150.9 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/0.3598, allocations: 107.4 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.3599, allocations: 83.16 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.36, allocations: 158.6 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.36, allocations: 150.6 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.3601, allocations: 154.6 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.3604, allocations: 417 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3605, allocations: 173.1 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.3606, allocations: 88.06 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.3606, allocations: 75.28 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/0.3607, allocations: 105.8 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3607, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.353e-05/0.3608, allocations: 33.64 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.3608, allocations: 130.7 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.361, allocations: 101.8 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.361, allocations: 25.7 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.361, allocations: 84.14 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.361, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.3611, allocations: 9.719 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3612, allocations: 314.9 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/0.3612, allocations: 7.938 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.3612, allocations: 8 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.3613, allocations: 75.28 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.213e-05/0.3613, allocations: 75.28 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.419e-05/0.3614, allocations: 33.69 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.3614, allocations: 83.22 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/0.3614, allocations: 79.22 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.78e-05/0.3615, allocations: 150.6 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.192e-05/0.3616, allocations: 83.31 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-05/0.3616, allocations: 158.4 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3617, allocations: 75.28 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.3618, allocations: 91.2 kB / 1.289 GB, free: 5.27 MB / 0.9825 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 0.0001372/0.3619, allocations: 256.4 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.362, allocations: 108.9 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.3621, allocations: 112.1 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.647e-05/0.3621, allocations: 180.2 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.14e-05/0.3622, allocations: 184.2 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.956e-05/0.3623, allocations: 184.4 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.3625, allocations: 368.3 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/0.3626, allocations: 109 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.3626, allocations: 112.9 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.84e-05/0.3627, allocations: 184.2 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.3628, allocations: 180.2 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-05/0.3629, allocations: 176.3 kB / 1.291 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.798e-05/0.3629, allocations: 184.2 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.3631, allocations: 307.8 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.3632, allocations: 104.9 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.3633, allocations: 184.2 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.3634, allocations: 113 kB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.3634, allocations: 184.2 kB / 1.292 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.3635, allocations: 101 kB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.3635, allocations: 83.27 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3635, allocations: 0 / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002806/0.3638, allocations: 4 kB / 1.293 GB, free: 1.727 MB / 0.9825 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.0007158/0.3645, allocations: 0.8256 MB / 1.293 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.855e-05/0.3646, allocations: 4 kB / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3646, allocations: 0 / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.3646, allocations: 3.984 kB / 1.293 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.365, allocations: 463.6 kB / 1.294 GB, free: 420 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.3664, allocations: 1.568 MB / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3667, allocations: 0.6729 MB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.3667, allocations: 0 / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.3667, allocations: 7.484 kB / 1.296 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.3667, allocations: 7.938 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.3973, allocations: 1.269 MB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.92, allocations: 6 kB / 1.297 GB, free: 12.95 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.63804887399965]