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.001927/0.001927, allocations: 84.41 kB / 20.23 MB, free: 4.191 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.002436/0.002436, allocations: 157.7 kB / 23.54 MB, free: 0.8867 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.522/1.522, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 2.924/2.924, 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.553e-06/1.553e-06, allocations: 0 / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.934e-05, allocations: 8.359 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002878/0.002908, allocations: 1.518 MB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.004373, allocations: 0.716 MB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.004409, allocations: 4 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.004672, allocations: 129.2 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.004794, allocations: 72.91 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009576/0.005751, allocations: 192.8 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.005884, allocations: 64.39 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.032e-05/0.005915, allocations: 0.7188 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.005998, allocations: 47.88 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.006151, allocations: 88.38 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.00617, allocations: 5.594 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.006661, allocations: 235.6 kB / 0.8139 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.006778, allocations: 63.83 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.006834, allocations: 27.88 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.007343, allocations: 307.1 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.007345, allocations: 0.625 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.61e-07/0.007346, allocations: 0.8125 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.00735, allocations: 0 / 0.8142 GB, free: 14.59 MB / 0.7761 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.0007458/0.008096, allocations: 449.2 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.008133, allocations: 8.625 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.161e-05/0.008215, allocations: 20.8 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.008498, allocations: 214.5 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.008509, allocations: 1.75 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.008521, allocations: 4.375 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.008725, allocations: 74.22 kB / 0.815 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.008737, allocations: 5.922 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.008746, allocations: 384 / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.008758, allocations: 7.938 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.008991, allocations: 86.2 kB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.009596, allocations: 336.5 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.009792, allocations: 86.52 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.009921, allocations: 52.17 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.009974, allocations: 19.98 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.01001, allocations: 34.5 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.01001, allocations: 0 / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0005143/0.01052, allocations: 181.4 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.01057, allocations: 56.47 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.01101, allocations: 356.4 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.01103, allocations: 25.7 kB / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.01116, allocations: 140.6 kB / 0.8163 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.01117, allocations: 3.953 kB / 0.8163 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.01123, allocations: 30.27 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.01142, allocations: 335.4 kB / 0.8167 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.01162, allocations: 96.98 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.01179, allocations: 95.94 kB / 0.8168 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.01215, allocations: 206.3 kB / 0.817 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01216, allocations: 0 / 0.817 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004512/0.01261, allocations: 261.3 kB / 0.8173 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01263, allocations: 7.938 kB / 0.8173 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01263, allocations: 0 / 0.8173 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01265, allocations: 0.8125 kB / 0.8173 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.01274, allocations: 12.92 kB / 0.8173 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01274, allocations: 0 / 0.8173 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.37e-05/0.01282, allocations: 11.89 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.01283, allocations: 9.156 kB / 0.8173 GB, free: 11.28 MB / 0.7761 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.0001393/0.01296, allocations: 141.8 kB / 0.8175 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.01303, allocations: 28.77 kB / 0.8175 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.01336, allocations: 143.6 kB / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01336, allocations: 0 / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.01337, allocations: 5.031 kB / 0.8176 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.01337, allocations: 0 / 0.8176 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.01362, allocations: 185.2 kB / 0.8178 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01362, allocations: 5.016 kB / 0.8178 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.01369, allocations: 8 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.01369, allocations: 5.125 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.0137, allocations: 3.938 kB / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.0137, allocations: 0 / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01371, allocations: 1.031 kB / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.01408, allocations: 228.4 kB / 0.818 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.01413, allocations: 27.84 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.01415, allocations: 7.938 kB / 0.8181 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01426, allocations: 12.58 kB / 0.8181 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.01429, allocations: 1.625 kB / 0.8181 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.0143, allocations: 3.938 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003007/0.0146, allocations: 251 kB / 0.8183 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.0146, allocations: 0 / 0.8183 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003811/0.01498, allocations: 68.98 kB / 0.8184 GB, free: 10.12 MB / 0.7761 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.0003521/0.01533, allocations: 163.1 kB / 0.8186 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.01567, allocations: 145 kB / 0.8187 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01567, allocations: 0.6562 kB / 0.8187 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.0158, allocations: 51.84 kB / 0.8187 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.01613, allocations: 8.656 kB / 0.8188 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.01683, allocations: 385.8 kB / 0.8191 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.01698, allocations: 127.2 kB / 0.8192 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.111e-05/0.01703, allocations: 22.53 kB / 0.8193 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.01707, allocations: 20.44 kB / 0.8193 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.01708, allocations: 0 / 0.8193 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of Templates: time 0.006288/0.02336, allocations: 2.151 MB / 0.8214 GB, free: 7.043 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] 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.856091400957666]