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.001355/0.001355, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001473/0.001473, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.503/1.503, 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.913/2.913, allocations: 0.49 GB / 0.7923 GB, free: 1.453 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_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.002222/0.002222, allocations: 71.89 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9613/0.9635, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002203/0.9657, allocations: 1.279 MB / 1.323 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009295/0.9667, allocations: 0.7473 MB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.9667, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.9667, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.967, allocations: 16.42 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.9672, allocations: 47.61 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.9673, allocations: 20.16 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.9673, allocations: 2.938 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.729e-05/0.9674, allocations: 16.91 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.9675, allocations: 15.09 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.9675, allocations: 0 / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.9676, allocations: 12.75 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.9676, allocations: 6.797 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.9677, allocations: 10.38 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.9678, allocations: 25.34 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9678, allocations: 4 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.205e-06/0.9678, allocations: 0 / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9678, allocations: 0 / 1.324 GB, free: 23.55 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.0002976/0.9681, allocations: 326.9 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.9681, allocations: 14.45 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.9682, allocations: 78.88 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.9683, allocations: 249 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.9683, allocations: 158.9 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.9683, allocations: 157.8 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.598e-05/0.9684, allocations: 101.5 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.9684, allocations: 79.47 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.9684, allocations: 154.5 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.9685, allocations: 153.4 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.98e-05/0.9685, allocations: 154.5 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.9687, allocations: 451.5 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.421e-05/0.9688, allocations: 169.1 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.9688, allocations: 88.42 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.9688, allocations: 75.28 kB / 1.326 GB, free: 21.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.9688, allocations: 105.8 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.9688, allocations: 0 / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.252e-05/0.9689, allocations: 40.27 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.9689, allocations: 126.7 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.969, allocations: 109.3 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.969, allocations: 25.7 kB / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.9691, allocations: 86.28 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-06/0.9691, allocations: 0 / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.9691, allocations: 16.41 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.9692, allocations: 320.5 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.9692, allocations: 2.719 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.9692, allocations: 8.391 kB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.9692, allocations: 16.86 kB / 1.327 GB, free: 20.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9692, allocations: 0 / 1.327 GB, free: 20.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000105/0.9693, allocations: 47.58 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.9694, allocations: 5.469 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9694, allocations: 3.938 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.9694, allocations: 4.125 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.9694, allocations: 2.781 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.9694, allocations: 0 / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.9695, allocations: 3.953 kB / 1.327 GB, free: 20.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.9695, allocations: 5.844 kB / 1.327 GB, free: 20.17 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.09e-05/0.9696, allocations: 184 kB / 1.327 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.9696, allocations: 108.9 kB / 1.328 GB, free: 19.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.9697, allocations: 118.5 kB / 1.328 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.9697, allocations: 180.3 kB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.118e-05/0.9697, allocations: 180.2 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.9697, allocations: 179 kB / 1.328 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.9699, allocations: 407.3 kB / 1.329 GB, free: 18.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.9699, allocations: 101 kB / 1.329 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.9699, allocations: 108.3 kB / 1.329 GB, free: 18.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.724e-05/0.9699, allocations: 186.6 kB / 1.329 GB, free: 18.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.97, allocations: 184.2 kB / 1.329 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.691e-05/0.97, allocations: 183.1 kB / 1.329 GB, free: 17.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-05/0.97, allocations: 176.5 kB / 1.33 GB, free: 17.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.244e-05/0.9701, allocations: 313.5 kB / 1.33 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.9701, allocations: 183.5 kB / 1.33 GB, free: 17.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.9702, allocations: 186.7 kB / 1.33 GB, free: 17.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.9702, allocations: 101 kB / 1.33 GB, free: 16.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.9703, allocations: 180.3 kB / 1.33 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.9703, allocations: 114.7 kB / 1.331 GB, free: 16.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.9703, allocations: 88.47 kB / 1.331 GB, free: 16.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9703, allocations: 0 / 1.331 GB, free: 16.6 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002299/0.9705, allocations: 6.609 kB / 1.331 GB, free: 16.6 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.0002355/0.9708, allocations: 199.7 kB / 1.331 GB, free: 16.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.059e-05/0.9709, allocations: 9.656 kB / 1.331 GB, free: 16.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9709, allocations: 0 / 1.331 GB, free: 16.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.9709, allocations: 0 / 1.331 GB, free: 16.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.9711, allocations: 462.4 kB / 1.331 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.9714, allocations: 193.8 kB / 1.331 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.9715, allocations: 0.6787 MB / 1.332 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.9715, allocations: 7.438 kB / 1.332 GB, free: 15.06 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9715, allocations: 2.281 kB / 1.332 GB, free: 15.06 MB / 1.061 GB Notification: Performance of Templates: time 0.002153/0.9737, allocations: 0.5163 MB / 1.333 GB, free: 15.04 MB / 1.061 GB " [Timeout remaining time 299] 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.54489681099949]