Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001668/0.001668, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002025/0.002025, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.111/3.111, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_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.001891/0.001891, allocations: 62.59 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3678, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00267/0.3704, allocations: 1.263 MB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3717, allocations: 0.8067 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.3717, allocations: 4 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.3718, allocations: 7.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.372, allocations: 7.984 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.845e-05/0.3721, allocations: 7.938 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.63e-05/0.3721, allocations: 11.98 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.3722, allocations: 3.984 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.3722, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3723, allocations: 4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3723, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.591e-05/0.3724, allocations: 11.92 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.3724, allocations: 7.984 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.3724, allocations: 3.938 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.662e-05/0.3725, allocations: 20.22 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3725, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3725, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3725, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 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.0003355/0.3729, allocations: 246.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3729, allocations: 8.031 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.345e-05/0.373, allocations: 83.41 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.373, allocations: 106 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.3731, allocations: 80.22 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3733, allocations: 185.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.3733, allocations: 158.9 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.3734, allocations: 150.9 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.786e-05/0.3735, allocations: 109.2 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.3735, allocations: 83.28 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/0.3736, allocations: 150.6 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.3736, allocations: 150.6 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.3737, allocations: 150.6 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.374, allocations: 421 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.739e-05/0.3741, allocations: 177.1 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.3741, allocations: 84.08 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.3742, allocations: 75.28 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.3742, allocations: 113.8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3742, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.91e-05/0.3743, allocations: 29.7 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.3744, allocations: 130.6 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3745, allocations: 101.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3745, allocations: 29.7 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.3745, allocations: 80.14 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.3745, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.3746, allocations: 13.72 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3747, allocations: 318.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.3747, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.3747, allocations: 25.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.3748, allocations: 75.28 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/0.3748, allocations: 75.28 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.529e-05/0.3748, allocations: 29.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.3749, allocations: 89.09 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.3749, allocations: 79.22 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.505e-05/0.375, allocations: 150.6 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.33e-05/0.375, allocations: 79.22 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.24e-05/0.3751, allocations: 162.5 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.3752, allocations: 75.28 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.3753, allocations: 87.44 kB / 1.333 GB, free: 11.02 MB / 1.029 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.0001233/0.3754, allocations: 256.9 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.3754, allocations: 109.1 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.192e-05/0.3755, allocations: 120.1 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-05/0.3756, allocations: 180.3 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.346e-05/0.3757, allocations: 180.3 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.172e-05/0.3757, allocations: 184.1 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.376, allocations: 384.3 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/0.376, allocations: 104.9 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.3761, allocations: 101 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-05/0.3761, allocations: 188.2 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.3762, allocations: 180.2 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.907e-05/0.3763, allocations: 180.2 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.371e-05/0.3764, allocations: 188.1 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.3765, allocations: 299.8 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.3766, allocations: 128.8 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.3766, allocations: 176.3 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.3767, allocations: 104.9 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.3768, allocations: 180.3 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.3769, allocations: 105 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.3769, allocations: 91.22 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3769, allocations: 0 / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002655/0.3772, allocations: 4 kB / 1.336 GB, free: 7.438 MB / 1.029 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.0005794/0.3778, allocations: 0.8202 MB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.411e-05/0.3778, allocations: 8 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3778, allocations: 0 / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.377e-06/0.3778, allocations: 3.938 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3782, allocations: 460.3 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3794, allocations: 1.556 MB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.3795, allocations: 55.36 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.36e-05/0.3795, allocations: 0 / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.3795, allocations: 15.42 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3795, allocations: 0 / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.4021, allocations: 1.342 MB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.42, allocations: 8.047 kB / 1.34 GB, free: 3.238 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.16017373802606]