Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.001657/0.001657, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001714/0.001714, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.544/1.544, 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 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 2.972/2.972, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] 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.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.001943/0.001943, allocations: 63.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9653/0.9672, allocations: 176.1 MB / 1.321 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002101/0.9693, allocations: 1.293 MB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.9703, allocations: 0.7367 MB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.9703, allocations: 0 / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.9703, allocations: 0 / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.9706, allocations: 13.92 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.9708, allocations: 54.38 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.24e-05/0.9709, allocations: 18.73 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.9709, allocations: 6.719 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.971, allocations: 16.72 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.9711, allocations: 9.906 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.9711, allocations: 0 / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.478e-05/0.9712, allocations: 9.109 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.9712, allocations: 5.828 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.9713, allocations: 9.344 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.9714, allocations: 30.55 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9714, allocations: 8 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9714, allocations: 0 / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.9714, allocations: 2.562 kB / 1.324 GB, free: 23.16 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.0003191/0.9717, allocations: 324.6 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.9717, allocations: 12.39 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.9e-05/0.9718, allocations: 75.47 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.9718, allocations: 112.8 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.9719, allocations: 80.22 kB / 1.324 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.972, allocations: 249.9 kB / 1.324 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.972, allocations: 150.9 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.972, allocations: 150.9 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.564e-05/0.9721, allocations: 108.1 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.9721, allocations: 75.28 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.9721, allocations: 154.6 kB / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.9721, allocations: 150.6 kB / 1.325 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.9722, allocations: 154.5 kB / 1.325 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.9723, allocations: 451 kB / 1.326 GB, free: 20.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.877e-05/0.9724, allocations: 173.1 kB / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.9724, allocations: 81.73 kB / 1.326 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.9724, allocations: 78.52 kB / 1.326 GB, free: 20.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.9725, allocations: 116.4 kB / 1.326 GB, free: 20.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.9725, allocations: 0 / 1.326 GB, free: 20.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.428e-05/0.9725, allocations: 25.7 kB / 1.326 GB, free: 20.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.9726, allocations: 133.6 kB / 1.326 GB, free: 20.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.9727, allocations: 106.7 kB / 1.326 GB, free: 20.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.9727, allocations: 28.14 kB / 1.327 GB, free: 20.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.9727, allocations: 84.14 kB / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.9727, allocations: 0 / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.9727, allocations: 22.28 kB / 1.327 GB, free: 19.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.9728, allocations: 310.8 kB / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.9728, allocations: 2.625 kB / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.9728, allocations: 19.47 kB / 1.327 GB, free: 19.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.9729, allocations: 24.05 kB / 1.327 GB, free: 19.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9729, allocations: 0 / 1.327 GB, free: 19.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001051/0.973, allocations: 36.98 kB / 1.327 GB, free: 19.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.973, allocations: 6.75 kB / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.973, allocations: 2.719 kB / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.973, allocations: 3.422 kB / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.973, allocations: 0 / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.973, allocations: 3.984 kB / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.9732, allocations: 10.67 kB / 1.327 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.9732, allocations: 3.938 kB / 1.327 GB, free: 19.58 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.498e-05/0.9732, allocations: 193.6 kB / 1.327 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.9733, allocations: 118.9 kB / 1.327 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.9733, allocations: 108.6 kB / 1.327 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.9733, allocations: 178.9 kB / 1.328 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.869e-05/0.9734, allocations: 184.2 kB / 1.328 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/0.9734, allocations: 179.5 kB / 1.328 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.9735, allocations: 409.3 kB / 1.328 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.9735, allocations: 101 kB / 1.328 GB, free: 18.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.9735, allocations: 104.9 kB / 1.329 GB, free: 17.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.699e-05/0.9736, allocations: 190.7 kB / 1.329 GB, free: 17.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.9736, allocations: 179.6 kB / 1.329 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-05/0.9736, allocations: 182.8 kB / 1.329 GB, free: 17.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-05/0.9737, allocations: 176.5 kB / 1.329 GB, free: 17.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.565e-05/0.9737, allocations: 313.2 kB / 1.33 GB, free: 16.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.9738, allocations: 184.6 kB / 1.33 GB, free: 16.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.9738, allocations: 182.7 kB / 1.33 GB, free: 16.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.725e-05/0.9739, allocations: 104.2 kB / 1.33 GB, free: 16.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.9739, allocations: 184.2 kB / 1.33 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.9739, allocations: 107.5 kB / 1.33 GB, free: 16.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.9739, allocations: 88.08 kB / 1.33 GB, free: 16.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9739, allocations: 4 kB / 1.33 GB, free: 16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002368/0.9742, allocations: 2.562 kB / 1.33 GB, free: 16 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.000393/0.9746, allocations: 0.8329 MB / 1.331 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.397e-05/0.9746, allocations: 5.062 kB / 1.331 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.9746, allocations: 0 / 1.331 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.9746, allocations: 3.938 kB / 1.331 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.9749, allocations: 457.7 kB / 1.332 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.9758, allocations: 1.289 MB / 1.333 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.9759, allocations: 0.6756 MB / 1.334 GB, free: 12.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.976, allocations: 3 kB / 1.334 GB, free: 12.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.976, allocations: 7.438 kB / 1.334 GB, free: 12.73 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.976, allocations: 0 / 1.334 GB, free: 12.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.9943, allocations: 1.362 MB / 1.335 GB, free: 12.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/9.214, allocations: 10.95 kB / 1.335 GB, free: 12.38 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.87514297402231]