Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001322/0.001322, allocations: 102.1 kB / 19.7 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.001526/0.001526, allocations: 220.3 kB / 23.01 MB, free: 4.609 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.043 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 3.268/3.268, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_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_latest_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.002081/0.002081, allocations: 62.89 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3461, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002471/0.3486, allocations: 1.286 MB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3498, allocations: 0.8258 MB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.3499, allocations: 0 / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.3499, allocations: 0 / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.3501, allocations: 11.92 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.3503, allocations: 54.55 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.764e-05/0.3504, allocations: 19.92 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.3505, allocations: 0 / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.3505, allocations: 15.92 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3507, allocations: 15.98 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3507, allocations: 0 / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.3507, allocations: 11.92 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.3508, allocations: 4 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.3508, allocations: 11.92 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.3509, allocations: 23.91 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3509, allocations: 3.938 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3509, allocations: 4 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.3509, allocations: 0 / 1.356 GB, free: 5.637 MB / 1.045 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.0003273/0.3513, allocations: 254.3 kB / 1.357 GB, free: 5.355 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3513, allocations: 8.031 kB / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.3514, allocations: 80.22 kB / 1.357 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3515, allocations: 193.7 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/0.3516, allocations: 150.9 kB / 1.357 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.3517, allocations: 158.9 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.419e-05/0.3517, allocations: 113.5 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.3518, allocations: 75.47 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/0.3518, allocations: 154.5 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/0.3519, allocations: 150.6 kB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/0.352, allocations: 158.6 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.3523, allocations: 421 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3524, allocations: 169.1 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.3524, allocations: 84.12 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.3525, allocations: 79.28 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.3525, allocations: 109.8 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3525, allocations: 0 / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.088e-05/0.3526, allocations: 29.64 kB / 1.359 GB, free: 3.156 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.3527, allocations: 126.7 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3528, allocations: 109.8 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3528, allocations: 29.7 kB / 1.359 GB, free: 2.867 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.3529, allocations: 80.14 kB / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.3529, allocations: 7.938 kB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3529, allocations: 21.69 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3531, allocations: 310.8 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.3531, allocations: 8 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.3531, allocations: 11.98 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.3532, allocations: 12.86 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3532, allocations: 0 / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001137/0.3533, allocations: 41.75 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3533, allocations: 11.98 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3533, allocations: 3.938 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3533, allocations: 3.938 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3533, allocations: 0 / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3533, allocations: 3.938 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.3535, allocations: 4 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3535, allocations: 4 kB / 1.359 GB, free: 2.324 MB / 1.045 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.0001198/0.3536, allocations: 189.8 kB / 1.36 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.3537, allocations: 109 kB / 1.36 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.3537, allocations: 108.4 kB / 1.36 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.09e-05/0.3538, allocations: 180.2 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.929e-05/0.3539, allocations: 184.8 kB / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.984e-05/0.354, allocations: 184.1 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.3542, allocations: 376.3 kB / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/0.3543, allocations: 105 kB / 1.361 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.3543, allocations: 109.3 kB / 1.361 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.144e-05/0.3544, allocations: 184.3 kB / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.3545, allocations: 192.1 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.792e-05/0.3546, allocations: 176.3 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.804e-05/0.3547, allocations: 184.2 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.3548, allocations: 303.8 kB / 1.362 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.3549, allocations: 108.9 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.355, allocations: 180.2 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.3551, allocations: 109 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.3551, allocations: 188.2 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.3552, allocations: 101 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.599e-05/0.3552, allocations: 79.28 kB / 1.363 GB, free: 14.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3552, allocations: 0 / 1.363 GB, free: 14.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002327/0.3555, allocations: 4 kB / 1.363 GB, free: 14.84 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.000303/0.3558, allocations: 196.4 kB / 1.363 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.055e-05/0.3559, allocations: 7.938 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3559, allocations: 0 / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.3559, allocations: 0 / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.3563, allocations: 455.8 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.3566, allocations: 208.2 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3569, allocations: 0.669 MB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.357, allocations: 15.38 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.357, allocations: 0 / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of Templates: time 0.002179/0.3591, allocations: 0.5256 MB / 1.365 GB, free: 12.72 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.564173654012848]