Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002502/0.002502, allocations: 83.69 kB / 20.24 MB, free: 4.18 MB / 18.57 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.002874/0.002874, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.028/3.028, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8109 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.479e-05, allocations: 4.984 kB / 0.8109 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002883/0.002908, allocations: 1.525 MB / 0.8123 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.004325, allocations: 0.7444 MB / 0.8131 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.004357, allocations: 0 / 0.8131 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.004606, allocations: 125.3 kB / 0.8132 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.004721, allocations: 76.95 kB / 0.8133 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.005347, allocations: 189.6 kB / 0.8134 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.005464, allocations: 68.3 kB / 0.8135 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.122e-05/0.005496, allocations: 4.906 kB / 0.8135 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.452e-05/0.00557, allocations: 43.88 kB / 0.8136 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.005709, allocations: 83.89 kB / 0.8136 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.005728, allocations: 5.375 kB / 0.8136 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.006199, allocations: 239.6 kB / 0.8139 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.006306, allocations: 67.78 kB / 0.8139 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.006356, allocations: 28.52 kB / 0.814 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.006826, allocations: 311.1 kB / 0.8143 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.006828, allocations: 1.25 kB / 0.8143 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.006829, allocations: 0 / 0.8143 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.006833, allocations: 0 / 0.8143 GB, free: 13.45 MB / 0.7292 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.0007636/0.007597, allocations: 0.5363 MB / 0.8148 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.007633, allocations: 12.03 kB / 0.8148 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.007693, allocations: 24.75 kB / 0.8148 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.007948, allocations: 172.8 kB / 0.815 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.007963, allocations: 4.375 kB / 0.815 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.007977, allocations: 8.312 kB / 0.815 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.008116, allocations: 38.75 kB / 0.815 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.008124, allocations: 192 / 0.815 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.008136, allocations: 9.109 kB / 0.815 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.008142, allocations: 3.938 kB / 0.815 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.00826, allocations: 21.17 kB / 0.8151 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.008778, allocations: 339.8 kB / 0.8154 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.008913, allocations: 48.5 kB / 0.8154 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.008985, allocations: 23.73 kB / 0.8155 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.009035, allocations: 25.86 kB / 0.8155 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.009073, allocations: 37.33 kB / 0.8155 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.009073, allocations: 0 / 0.8155 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003072/0.009381, allocations: 81.53 kB / 0.8156 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.009424, allocations: 52.84 kB / 0.8156 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.009827, allocations: 370.2 kB / 0.816 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.009847, allocations: 29.69 kB / 0.816 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.009999, allocations: 192 kB / 0.8162 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.01001, allocations: 7.938 kB / 0.8162 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.01007, allocations: 35.38 kB / 0.8163 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002904/0.01036, allocations: 0.5157 MB / 0.8168 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.01044, allocations: 20.52 kB / 0.8168 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.01049, allocations: 20.53 kB / 0.8168 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.01065, allocations: 74.5 kB / 0.8169 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01065, allocations: 0.8125 kB / 0.8169 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002357/0.01088, allocations: 117.5 kB / 0.817 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.0109, allocations: 8.469 kB / 0.817 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.0109, allocations: 5.312 kB / 0.817 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01091, allocations: 0 / 0.817 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.01099, allocations: 8 kB / 0.817 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01099, allocations: 0 / 0.817 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.01104, allocations: 13.05 kB / 0.817 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.01105, allocations: 3.984 kB / 0.817 GB, free: 10.43 MB / 0.7292 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.000123/0.01117, allocations: 165.4 kB / 0.8172 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.01122, allocations: 23.8 kB / 0.8172 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.01141, allocations: 67.33 kB / 0.8173 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01141, allocations: 0.9062 kB / 0.8173 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.01142, allocations: 8 kB / 0.8173 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01142, allocations: 0.8438 kB / 0.8173 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.01168, allocations: 192.6 kB / 0.8175 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01168, allocations: 1.281 kB / 0.8175 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.01173, allocations: 7.938 kB / 0.8175 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.01173, allocations: 0 / 0.8175 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.01174, allocations: 8.641 kB / 0.8175 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01174, allocations: 0 / 0.8175 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01174, allocations: 0.875 kB / 0.8175 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.01199, allocations: 221.3 kB / 0.8177 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.01206, allocations: 31.84 kB / 0.8177 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.01209, allocations: 3.938 kB / 0.8177 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.01216, allocations: 4 kB / 0.8177 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.01219, allocations: 1.062 kB / 0.8177 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.0122, allocations: 0 / 0.8177 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002325/0.01243, allocations: 235 kB / 0.8179 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01243, allocations: 3.281 kB / 0.818 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003368/0.01277, allocations: 71.86 kB / 0.818 GB, free: 9.344 MB / 0.7292 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.0003127/0.01308, allocations: 167.1 kB / 0.8182 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.01329, allocations: 55.59 kB / 0.8182 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01329, allocations: 0 / 0.8182 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.01336, allocations: 23.67 kB / 0.8183 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.01364, allocations: 19.39 kB / 0.8183 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.01426, allocations: 313.9 kB / 0.8186 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.0144, allocations: 121.6 kB / 0.8187 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.782e-05/0.01443, allocations: 12.48 kB / 0.8187 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.01447, allocations: 16.44 kB / 0.8187 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.01447, allocations: 0 / 0.8187 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of Templates: time 0.006234/0.02071, allocations: 2.154 MB / 0.8208 GB, free: 6.469 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.971001491998322]