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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 100.6 kB / 16.41 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 192.8 kB / 17.34 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 72.11 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.9007, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002745/0.9035, allocations: 1.492 MB / 1.222 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.9048, allocations: 0.7323 MB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.9048, allocations: 3.938 kB / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.9051, allocations: 127.8 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.9052, allocations: 67.84 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.9059, allocations: 183.5 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.9061, allocations: 63.81 kB / 1.224 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.9061, allocations: 4 kB / 1.224 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.614e-05/0.9062, allocations: 39.94 kB / 1.224 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.9063, allocations: 83.84 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.9063, allocations: 4 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.9067, allocations: 223.6 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.9069, allocations: 63.83 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.9069, allocations: 59.48 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.9073, allocations: 271 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9073, allocations: 4 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9073, allocations: 0 / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9074, allocations: 0 / 1.224 GB, free: 14.93 MB / 0.9512 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.0007771/0.9081, allocations: 0.504 MB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.9082, allocations: 8.625 kB / 1.225 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.9083, allocations: 20.66 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.9086, allocations: 263.6 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.9086, allocations: 8.312 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.9086, allocations: 384 / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.9088, allocations: 85.97 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.9089, allocations: 0 / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.9089, allocations: 0 / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.9089, allocations: 4 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.9091, allocations: 87.92 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.9097, allocations: 392.8 kB / 1.226 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.9099, allocations: 94.45 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.91, allocations: 48.89 kB / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.9101, allocations: 19.98 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.9101, allocations: 34.56 kB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.9101, allocations: 0 / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004422/0.9106, allocations: 173.3 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.9106, allocations: 63.47 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.911, allocations: 355.1 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.9111, allocations: 29.7 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.9112, allocations: 136.1 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.9112, allocations: 3.906 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.9113, allocations: 33.7 kB / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.9114, allocations: 334.8 kB / 1.227 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.9116, allocations: 99.89 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.9117, allocations: 95.94 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.912, allocations: 215.5 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.912, allocations: 0 / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003581/0.9124, allocations: 249.2 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.9124, allocations: 8 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.9124, allocations: 7.938 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.9125, allocations: 0 / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.9126, allocations: 11.98 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9126, allocations: 0 / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.9127, allocations: 11.84 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.9127, allocations: 0 / 1.228 GB, free: 11.37 MB / 0.9512 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.0001178/0.9128, allocations: 149.7 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.9128, allocations: 19.72 kB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.9132, allocations: 146.6 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9132, allocations: 0 / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.9132, allocations: 0 / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9132, allocations: 0 / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.9135, allocations: 245.5 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9135, allocations: 0 / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.9135, allocations: 15.86 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.9135, allocations: 0 / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.9136, allocations: 4.031 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9136, allocations: 4 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9136, allocations: 0 / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.9139, allocations: 235.1 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.914, allocations: 96.83 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.914, allocations: 4 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.9141, allocations: 8.016 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.9142, allocations: 4 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.9142, allocations: 0 / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002458/0.9144, allocations: 257.9 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6.12e-07/0.9144, allocations: 0 / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003602/0.9148, allocations: 64 kB / 1.229 GB, free: 10.04 MB / 0.9512 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.0003826/0.9152, allocations: 167.1 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.9155, allocations: 159.8 kB / 1.229 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9155, allocations: 0 / 1.229 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.9156, allocations: 47.97 kB / 1.229 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.916, allocations: 15 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.9166, allocations: 405.7 kB / 1.229 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.9169, allocations: 0.7384 MB / 1.23 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.917, allocations: 19.44 kB / 1.23 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.917, allocations: 3.938 kB / 1.23 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of Templates: time 0.005011/0.922, allocations: 2.416 MB / 1.233 GB, free: 6.039 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) 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) Reference file matches