Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.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.001743/0.001743, 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.002015/0.002015, allocations: 213.9 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.306/3.306, allocations: 0.505 GB / 0.8108 GB, free: 22.08 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.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") [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.002059/0.002059, allocations: 79.39 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3489, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002732/0.3517, allocations: 1.53 MB / 1.356 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3531, allocations: 0.7946 MB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.3531, allocations: 0 / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.3534, allocations: 127.8 kB / 1.357 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.3535, allocations: 71.83 kB / 1.357 GB, free: 5.418 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.3541, allocations: 197.7 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3543, allocations: 63.81 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.3543, allocations: 3.984 kB / 1.357 GB, free: 5.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.3544, allocations: 31.95 kB / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3545, allocations: 95.81 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3545, allocations: 7.938 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.355, allocations: 255.6 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.3551, allocations: 63.81 kB / 1.357 GB, free: 4.715 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.3551, allocations: 59.48 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.3555, allocations: 275 kB / 1.358 GB, free: 4.387 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3555, allocations: 0 / 1.358 GB, free: 4.387 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3555, allocations: 0 / 1.358 GB, free: 4.387 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3555, allocations: 0 / 1.358 GB, free: 4.387 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006741/0.3562, allocations: 440.8 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3562, allocations: 16.02 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.3563, allocations: 20.8 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3565, allocations: 210.6 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3566, allocations: 4.375 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3566, allocations: 4.375 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3568, allocations: 73.97 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3568, allocations: 0 / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3568, allocations: 4 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3568, allocations: 4 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.357, allocations: 83.92 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.3576, allocations: 371.8 kB / 1.359 GB, free: 3.078 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3577, allocations: 86.53 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3578, allocations: 48.89 kB / 1.359 GB, free: 2.934 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.3579, allocations: 15.98 kB / 1.359 GB, free: 2.918 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3579, allocations: 38.55 kB / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.3579, allocations: 0 / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004341/0.3584, allocations: 181.3 kB / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3584, allocations: 51.53 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.3588, allocations: 364.4 kB / 1.36 GB, free: 2.258 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3588, allocations: 29.69 kB / 1.36 GB, free: 2.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3589, allocations: 136.1 kB / 1.36 GB, free: 2.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.3589, allocations: 3.953 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.359, allocations: 25.7 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3591, allocations: 338.8 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3593, allocations: 95.94 kB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3594, allocations: 98.2 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.3597, allocations: 212.7 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3597, allocations: 0 / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003781/0.3601, allocations: 258.9 kB / 1.361 GB, free: 1.055 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3601, allocations: 4 kB / 1.361 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3601, allocations: 0 / 1.361 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3602, allocations: 8 kB / 1.361 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.3603, allocations: 11.98 kB / 1.361 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3603, allocations: 0 / 1.361 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.3603, allocations: 23.83 kB / 1.361 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3603, allocations: 0 / 1.361 GB, free: 1.008 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 (3): * Single equations (assignments): 2 * 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.0001305/0.3605, allocations: 149.7 kB / 1.361 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3605, allocations: 19.86 kB / 1.361 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.3608, allocations: 146.6 kB / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3608, allocations: 0 / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3608, allocations: 4 kB / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3608, allocations: 0 / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.361, allocations: 212.6 kB / 1.361 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.361, allocations: 0 / 1.361 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.3611, allocations: 11.98 kB / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3611, allocations: 0 / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.3611, allocations: 0 / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3611, allocations: 4.031 kB / 1.361 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3611, allocations: 0 / 1.361 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.3614, allocations: 235.3 kB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.3615, allocations: 23.86 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3615, allocations: 3.984 kB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.3616, allocations: 4.031 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.3616, allocations: 16.06 kB / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3616, allocations: 0 / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002689/0.3619, allocations: 255 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3619, allocations: 3.938 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003482/0.3622, allocations: 71.86 kB / 1.362 GB, free: 15.8 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 (2): * Single equations (assignments): 2 * 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.0002864/0.3625, allocations: 147 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003279/0.3629, allocations: 147.9 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3629, allocations: 0 / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.363, allocations: 51.95 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.3632, allocations: 12.59 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006387/0.3639, allocations: 410 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3643, allocations: 0.7391 MB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.3643, allocations: 19.44 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3643, allocations: 0 / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of Templates: time 0.004688/0.369, allocations: 2.407 MB / 1.366 GB, free: 11.83 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.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.63166835901211]