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.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.002021/0.002021, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002357/0.002357, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.6/1.6, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.958/2.958, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",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.001955/0.001955, allocations: 67.89 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9209/0.9229, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003534/0.9264, allocations: 1.267 MB / 1.341 GB, free: 15.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.9279, allocations: 0.727 MB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.9279, allocations: 1.25 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.719e-05/0.928, allocations: 0 / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.9283, allocations: 19.53 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.9284, allocations: 7.438 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.015e-05/0.9285, allocations: 5.438 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.9285, allocations: 1.781 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.9285, allocations: 10.95 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.9287, allocations: 8.859 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.9287, allocations: 0 / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.015e-05/0.9288, allocations: 5.75 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.9289, allocations: 13.59 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.9289, allocations: 2.844 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.929, allocations: 19.73 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.929, allocations: 0 / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.905e-06/0.929, allocations: 0 / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.929, allocations: 0 / 1.342 GB, free: 14.82 MB / 1.061 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.000352/0.9294, allocations: 323.9 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9294, allocations: 10.34 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.94e-05/0.9294, allocations: 76.72 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.9295, allocations: 110.6 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/0.9296, allocations: 85.48 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.9297, allocations: 240 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.9297, allocations: 156.3 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.9297, allocations: 158.8 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.233e-05/0.9298, allocations: 107.4 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.9298, allocations: 75.28 kB / 1.343 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.9298, allocations: 150.6 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.9299, allocations: 156.5 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.9299, allocations: 154.6 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.9301, allocations: 443.6 kB / 1.344 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.465e-05/0.9302, allocations: 174.3 kB / 1.344 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.9302, allocations: 80.66 kB / 1.345 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.9302, allocations: 79.28 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.9303, allocations: 111.7 kB / 1.345 GB, free: 12.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.9303, allocations: 0 / 1.345 GB, free: 12.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.86e-05/0.9303, allocations: 31.58 kB / 1.345 GB, free: 12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.9304, allocations: 128.7 kB / 1.345 GB, free: 11.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.9305, allocations: 101.5 kB / 1.345 GB, free: 11.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.9305, allocations: 25.7 kB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.9305, allocations: 86.17 kB / 1.345 GB, free: 11.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.9305, allocations: 0 / 1.345 GB, free: 11.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.9306, allocations: 12.66 kB / 1.345 GB, free: 11.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.9306, allocations: 316 kB / 1.345 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-06/0.9306, allocations: 0 / 1.345 GB, free: 11.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.9306, allocations: 2.062 kB / 1.345 GB, free: 11.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.485e-05/0.9306, allocations: 76.94 kB / 1.345 GB, free: 11.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.9307, allocations: 75.28 kB / 1.346 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.242e-05/0.9307, allocations: 33.89 kB / 1.346 GB, free: 11.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.9307, allocations: 87.97 kB / 1.346 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.9308, allocations: 76.95 kB / 1.346 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/0.9308, allocations: 152.3 kB / 1.346 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.121e-05/0.9308, allocations: 80.28 kB / 1.346 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.9308, allocations: 156.3 kB / 1.346 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.931, allocations: 89.52 kB / 1.346 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.931, allocations: 80.5 kB / 1.346 GB, free: 10.43 MB / 1.061 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 6.937e-05/0.9311, allocations: 259.9 kB / 1.347 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.9311, allocations: 114.7 kB / 1.347 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.9312, allocations: 110.5 kB / 1.347 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/0.9312, allocations: 178.1 kB / 1.347 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.671e-05/0.9312, allocations: 189.9 kB / 1.347 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.9312, allocations: 178.3 kB / 1.347 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.9314, allocations: 398 kB / 1.348 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.9314, allocations: 110.6 kB / 1.348 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.9314, allocations: 106.2 kB / 1.348 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.88e-05/0.9315, allocations: 189.8 kB / 1.348 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.9315, allocations: 182 kB / 1.348 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.777e-05/0.9315, allocations: 178 kB / 1.348 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.659e-05/0.9316, allocations: 182.2 kB / 1.349 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.984e-05/0.9316, allocations: 313.2 kB / 1.349 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.9317, allocations: 185.7 kB / 1.349 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.9317, allocations: 178.8 kB / 1.349 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.9318, allocations: 106.4 kB / 1.349 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.9318, allocations: 185.9 kB / 1.349 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.9318, allocations: 106.8 kB / 1.35 GB, free: 6.875 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.9319, allocations: 84.52 kB / 1.35 GB, free: 6.797 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9319, allocations: 0 / 1.35 GB, free: 6.797 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004247/0.9323, allocations: 6.312 kB / 1.35 GB, free: 6.793 MB / 1.061 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.0004795/0.9328, allocations: 0.8236 MB / 1.35 GB, free: 5.973 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.102e-05/0.9328, allocations: 5.375 kB / 1.35 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9328, allocations: 0 / 1.35 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.9329, allocations: 1.344 kB / 1.35 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.9332, allocations: 458.4 kB / 1.351 GB, free: 5.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.9343, allocations: 1.565 MB / 1.352 GB, free: 3.938 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.9344, allocations: 0.6722 MB / 1.353 GB, free: 3.242 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.66e-05/0.9344, allocations: 2.172 kB / 1.353 GB, free: 3.242 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.9344, allocations: 10.36 kB / 1.353 GB, free: 3.234 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.9344, allocations: 0 / 1.353 GB, free: 3.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.9581, allocations: 1.255 MB / 1.354 GB, free: 2.895 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/9.122, allocations: 11.5 kB / 1.354 GB, free: 2.887 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.666543823026586]