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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 115.5 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 194.2 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 75.88 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9091/0.9111, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00235/0.9135, allocations: 1.493 MB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.9146, allocations: 0.7292 MB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.9146, allocations: 0 / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.9149, allocations: 135.2 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.915, allocations: 65.08 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.9156, allocations: 187.8 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.9158, allocations: 67.5 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.9158, allocations: 7.531 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.9159, allocations: 38.08 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.916, allocations: 79.03 kB / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.916, allocations: 3.062 kB / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.9164, allocations: 231 kB / 1.266 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.9165, allocations: 60.52 kB / 1.266 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.9166, allocations: 59.39 kB / 1.266 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.917, allocations: 277.3 kB / 1.266 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.917, allocations: 0 / 1.266 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.845e-06/0.917, allocations: 1 kB / 1.266 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.917, allocations: 0 / 1.266 GB, free: 6.141 MB / 0.9981 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.0005584/0.9176, allocations: 0.5075 MB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.9176, allocations: 13.22 kB / 1.266 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.9177, allocations: 21.42 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.9179, allocations: 260.1 kB / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.9179, allocations: 1.031 kB / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.9179, allocations: 2.594 kB / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.9181, allocations: 83.08 kB / 1.267 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.9181, allocations: 0 / 1.267 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.9182, allocations: 4.812 kB / 1.267 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9182, allocations: 0.8125 kB / 1.267 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.9184, allocations: 88.94 kB / 1.267 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.9189, allocations: 392.7 kB / 1.267 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.9191, allocations: 89.34 kB / 1.267 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.9192, allocations: 57.78 kB / 1.267 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.9192, allocations: 16.56 kB / 1.267 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.9193, allocations: 45.41 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9193, allocations: 0 / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004422/0.9197, allocations: 181.2 kB / 1.268 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.9198, allocations: 52.12 kB / 1.268 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.9201, allocations: 353.1 kB / 1.268 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.9202, allocations: 34.38 kB / 1.268 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.9202, allocations: 135.1 kB / 1.268 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.9202, allocations: 5.359 kB / 1.268 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.9203, allocations: 26.47 kB / 1.268 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.9204, allocations: 338.2 kB / 1.269 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.9205, allocations: 98.16 kB / 1.269 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.9207, allocations: 99.28 kB / 1.269 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.921, allocations: 220 kB / 1.269 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.921, allocations: 0 / 1.269 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003732/0.9214, allocations: 247.9 kB / 1.269 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.9214, allocations: 4.594 kB / 1.269 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.9214, allocations: 1.469 kB / 1.269 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9214, allocations: 4 kB / 1.269 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.9215, allocations: 9.797 kB / 1.269 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.9215, allocations: 0.6875 kB / 1.269 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.9216, allocations: 15.3 kB / 1.269 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.9216, allocations: 1.625 kB / 1.269 GB, free: 4.039 MB / 0.9981 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 8.803e-05/0.9217, allocations: 148.2 kB / 1.269 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.9218, allocations: 24.05 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.9221, allocations: 142.8 kB / 1.27 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9221, allocations: 1.391 kB / 1.27 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.9221, allocations: 0 / 1.27 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.9221, allocations: 1.094 kB / 1.27 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.9223, allocations: 242.8 kB / 1.27 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9223, allocations: 0 / 1.27 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.9224, allocations: 10.09 kB / 1.27 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9224, allocations: 0.5625 kB / 1.27 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.9224, allocations: 0 / 1.27 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9224, allocations: 4.938 kB / 1.27 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.9224, allocations: 4.547 kB / 1.27 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.9227, allocations: 238.6 kB / 1.27 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.9227, allocations: 101.3 kB / 1.27 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.9228, allocations: 1.828 kB / 1.27 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.9228, allocations: 10.77 kB / 1.27 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.9229, allocations: 1.453 kB / 1.27 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.9229, allocations: 6.203 kB / 1.27 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000257/0.9232, allocations: 250.2 kB / 1.27 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9232, allocations: 0 / 1.27 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004147/0.9236, allocations: 74.88 kB / 1.27 GB, free: 3.242 MB / 0.9981 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.000267/0.9239, allocations: 159.6 kB / 1.271 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.9242, allocations: 159.2 kB / 1.271 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9242, allocations: 3.938 kB / 1.271 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.9243, allocations: 47.3 kB / 1.271 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.9246, allocations: 18.61 kB / 1.271 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.9252, allocations: 414.9 kB / 1.271 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.9254, allocations: 0.7389 MB / 1.272 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.9254, allocations: 17.22 kB / 1.272 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.9254, allocations: 0.8125 kB / 1.272 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of Templates: time 0.004531/0.93, allocations: 2.396 MB / 1.274 GB, free: 1.914 MB / 0.9981 GB " [Timeout remaining time 299] 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_2/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.071024535922334]