Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001269/0.001269, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001364/0.001364, allocations: 204 kB / 20.09 MB, free: 2.977 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 / 253.5 MB, free: 15.07 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.944/2.944, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [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.002021/0.002021, allocations: 67.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 176.1 MB / 1.322 GB, free: 24.98 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002142/1.057, allocations: 1.29 MB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009001/1.058, allocations: 0.7412 MB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/1.058, allocations: 0 / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/1.058, allocations: 0 / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002279/1.058, allocations: 14.16 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/1.058, allocations: 51.2 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.331e-05/1.058, allocations: 27.48 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/1.058, allocations: 0 / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/1.059, allocations: 12.34 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/1.059, allocations: 12.59 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/1.059, allocations: 0 / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.377e-05/1.059, allocations: 8.781 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/1.059, allocations: 8 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/1.059, allocations: 18.7 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.306e-05/1.059, allocations: 21.83 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.059, allocations: 0 / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.884e-06/1.059, allocations: 0 / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.059, allocations: 0 / 1.324 GB, free: 23.47 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.0003036/1.059, allocations: 334.2 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/1.059, allocations: 11.8 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/1.059, allocations: 79.06 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/1.059, allocations: 245.2 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/1.059, allocations: 154.9 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/1.059, allocations: 150.9 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.978e-05/1.06, allocations: 104.3 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.06, allocations: 75.47 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/1.06, allocations: 161.8 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/1.06, allocations: 158.6 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/1.06, allocations: 154.5 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/1.06, allocations: 454.7 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/1.06, allocations: 165.1 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/1.06, allocations: 84.14 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/1.06, allocations: 75.28 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/1.06, allocations: 108.6 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/1.06, allocations: 3.938 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.586e-05/1.06, allocations: 31.22 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/1.06, allocations: 130.7 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/1.06, allocations: 116.7 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/1.06, allocations: 28.55 kB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/1.06, allocations: 80.14 kB / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/1.06, allocations: 0 / 1.327 GB, free: 20.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/1.06, allocations: 14.91 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.143e-05/1.06, allocations: 318.2 kB / 1.327 GB, free: 20.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/1.06, allocations: 2.562 kB / 1.327 GB, free: 20.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/1.06, allocations: 11.8 kB / 1.327 GB, free: 20.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/1.06, allocations: 20.55 kB / 1.327 GB, free: 20.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.06, allocations: 0 / 1.327 GB, free: 20.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.532e-05/1.06, allocations: 47.27 kB / 1.327 GB, free: 20.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/1.06, allocations: 5.719 kB / 1.327 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.06, allocations: 3.938 kB / 1.327 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.06, allocations: 0 / 1.327 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/1.06, allocations: 0 / 1.327 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/1.06, allocations: 0 / 1.327 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/1.061, allocations: 6.266 kB / 1.327 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/1.061, allocations: 2.688 kB / 1.327 GB, free: 20.09 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 5.564e-05/1.061, allocations: 188.5 kB / 1.327 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/1.061, allocations: 107.2 kB / 1.328 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/1.061, allocations: 110.9 kB / 1.328 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.061, allocations: 183.6 kB / 1.328 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.099e-05/1.061, allocations: 187.1 kB / 1.328 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/1.061, allocations: 180.3 kB / 1.328 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/1.061, allocations: 406.9 kB / 1.329 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/1.061, allocations: 101 kB / 1.329 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/1.061, allocations: 103.7 kB / 1.329 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.367e-05/1.061, allocations: 183.6 kB / 1.329 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/1.061, allocations: 187.1 kB / 1.329 GB, free: 18.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-05/1.061, allocations: 180.2 kB / 1.329 GB, free: 17.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.348e-05/1.061, allocations: 176.5 kB / 1.329 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.42e-05/1.061, allocations: 314.2 kB / 1.33 GB, free: 17.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/1.061, allocations: 181.1 kB / 1.33 GB, free: 17.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/1.061, allocations: 191.5 kB / 1.33 GB, free: 17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/1.061, allocations: 107.6 kB / 1.33 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/1.061, allocations: 184.2 kB / 1.33 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/1.061, allocations: 108.1 kB / 1.331 GB, free: 16.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.642e-05/1.061, allocations: 85.39 kB / 1.331 GB, free: 16.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.061, allocations: 0 / 1.331 GB, free: 16.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002272/1.062, allocations: 5.656 kB / 1.331 GB, free: 16.52 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.0002644/1.062, allocations: 196.6 kB / 1.331 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.816e-05/1.062, allocations: 5.812 kB / 1.331 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/1.062, allocations: 0 / 1.331 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/1.062, allocations: 7.359 kB / 1.331 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/1.062, allocations: 458.7 kB / 1.331 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/1.062, allocations: 198.5 kB / 1.331 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/1.062, allocations: 0.6718 MB / 1.332 GB, free: 14.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.18e-05/1.062, allocations: 7.438 kB / 1.332 GB, free: 14.98 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.062, allocations: 0 / 1.332 GB, free: 14.98 MB / 1.061 GB Notification: Performance of Templates: time 0.00193/1.064, allocations: 0.5166 MB / 1.333 GB, free: 14.95 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 11.77873827998701]