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.001318/0.001318, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001509/0.001509, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.134/3.134, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [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.002048/0.002048, allocations: 67.45 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3459, allocations: 176.1 MB / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002565/0.3484, allocations: 1.294 MB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3497, allocations: 0.818 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.3497, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.3497, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.3499, allocations: 15.91 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.3501, allocations: 55.12 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.3502, allocations: 23.92 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.3502, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.3503, allocations: 19.91 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.3504, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3504, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.3505, allocations: 11.98 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.3505, allocations: 3.984 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.3505, allocations: 11.94 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 8.817e-05/0.3506, allocations: 27.84 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3506, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3506, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3506, allocations: 0 / 1.329 GB, free: 15.12 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.000348/0.351, allocations: 250.4 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.351, allocations: 12.03 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.3511, allocations: 80.22 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3512, allocations: 193.6 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.3513, allocations: 154.9 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.3514, allocations: 154.9 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.511e-05/0.3515, allocations: 105.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.3515, allocations: 79.47 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.3516, allocations: 154.5 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/0.3517, allocations: 150.6 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.3517, allocations: 158.5 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.3521, allocations: 425 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3522, allocations: 169.1 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.3522, allocations: 80.14 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.3523, allocations: 75.28 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/0.3523, allocations: 109.8 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3523, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.328e-05/0.3524, allocations: 37.58 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.3525, allocations: 130.7 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3526, allocations: 105.8 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3526, allocations: 25.7 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.3527, allocations: 84.12 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.3527, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3527, allocations: 21.72 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3529, allocations: 310.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.3529, allocations: 8 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.3529, allocations: 7.984 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.353, allocations: 16.86 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.353, allocations: 3.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001251/0.3531, allocations: 49.61 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3531, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3531, allocations: 3.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3531, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-07/0.3531, allocations: 4.375 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3531, allocations: 4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3533, allocations: 7.984 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3533, allocations: 0 / 1.332 GB, free: 11.81 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 (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 0.0001225/0.3534, allocations: 185.7 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.3535, allocations: 108.9 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.3536, allocations: 116.4 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.393e-05/0.3537, allocations: 184.2 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.845e-05/0.3537, allocations: 180.2 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.214e-05/0.3538, allocations: 176.3 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.3541, allocations: 380.2 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.074e-05/0.3542, allocations: 109 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.3542, allocations: 105.1 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.615e-05/0.3543, allocations: 188.3 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.3544, allocations: 184.2 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.69e-05/0.3545, allocations: 192.2 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-05/0.3546, allocations: 176.3 kB / 1.335 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.3548, allocations: 303.8 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.3548, allocations: 109 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.355, allocations: 188.1 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.355, allocations: 101 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.3551, allocations: 176.3 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.3552, allocations: 104.9 kB / 1.336 GB, free: 8.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.3552, allocations: 95.27 kB / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3552, allocations: 0 / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002349/0.3555, allocations: 4 kB / 1.336 GB, free: 8.305 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.00027/0.3558, allocations: 182.5 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.3558, allocations: 4 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3558, allocations: 4.062 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3558, allocations: 0 / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.3563, allocations: 469.8 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.3565, allocations: 194.6 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3569, allocations: 0.6768 MB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.3569, allocations: 11.44 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3569, allocations: 0 / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of Templates: time 0.002047/0.3589, allocations: 0.5236 MB / 1.338 GB, free: 6.195 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 400] 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: 11.194396806007717]