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.000982/0.000982, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001479/0.001479, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.785/1.785, allocations: 377.9 MB / 0.6239 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] 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.854e-06/1.854e-06, allocations: 0 / 0.8121 GB, free: 268 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.256e-05, allocations: 2.312 kB / 0.8121 GB, free: 264 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001867/0.00188, allocations: 1.549 MB / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.002734, allocations: 0.7393 MB / 0.8143 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.002766, allocations: 3.938 kB / 0.8143 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.002956, allocations: 133.4 kB / 0.8144 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.292e-05/0.003029, allocations: 69.47 kB / 0.8145 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.00346, allocations: 185 kB / 0.8147 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.898e-05/0.003539, allocations: 68.3 kB / 0.8147 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.663e-05/0.003566, allocations: 0.9062 kB / 0.8147 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.183e-05/0.003637, allocations: 55.8 kB / 0.8148 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.003721, allocations: 84.53 kB / 0.8149 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.003733, allocations: 4 kB / 0.8149 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.003989, allocations: 241.1 kB / 0.8151 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.004053, allocations: 63.78 kB / 0.8152 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.004085, allocations: 27.86 kB / 0.8152 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.004343, allocations: 299.2 kB / 0.8155 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.004345, allocations: 0.5312 kB / 0.8155 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004345, allocations: 0 / 0.8155 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.004348, allocations: 0.7188 kB / 0.8155 GB, free: 12.77 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.0003886/0.004737, allocations: 0.5343 MB / 0.816 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.004768, allocations: 12.03 kB / 0.816 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.0048, allocations: 26.41 kB / 0.816 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.004936, allocations: 184.7 kB / 0.8162 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-06/0.004943, allocations: 384 / 0.8162 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/0.004949, allocations: 384 / 0.8162 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.749e-05/0.005027, allocations: 51.55 kB / 0.8163 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-06/0.005031, allocations: 0.875 kB / 0.8163 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.005042, allocations: 4.375 kB / 0.8163 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.005048, allocations: 4.625 kB / 0.8163 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.005063, allocations: 0 / 0.8163 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.005282, allocations: 285.4 kB / 0.8165 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.178e-05/0.005324, allocations: 34.98 kB / 0.8166 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.231e-05/0.005337, allocations: 9.062 kB / 0.8166 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.005375, allocations: 20.05 kB / 0.8166 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.005392, allocations: 37.39 kB / 0.8166 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.005392, allocations: 1.75 kB / 0.8166 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001031/0.005496, allocations: 61.44 kB / 0.8167 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.005517, allocations: 51.41 kB / 0.8167 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.005697, allocations: 360.4 kB / 0.8171 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.005706, allocations: 25.7 kB / 0.8171 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.005778, allocations: 190.8 kB / 0.8173 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.00579, allocations: 15.89 kB / 0.8173 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.005821, allocations: 35.33 kB / 0.8173 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.005937, allocations: 0.5157 MB / 0.8178 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.005954, allocations: 14.94 kB / 0.8179 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.525e-05/0.005969, allocations: 12 kB / 0.8179 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.006016, allocations: 49.91 kB / 0.8179 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.006018, allocations: 0 / 0.8179 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.075e-05/0.006098, allocations: 97.5 kB / 0.818 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.006108, allocations: 8 kB / 0.818 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006113, allocations: 3.938 kB / 0.818 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.006121, allocations: 1.438 kB / 0.818 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-05/0.006158, allocations: 7.984 kB / 0.818 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.00616, allocations: 0 / 0.818 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.006181, allocations: 7.891 kB / 0.818 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.006186, allocations: 8.562 kB / 0.818 GB, free: 9.945 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 5.727e-05/0.006243, allocations: 153.1 kB / 0.8182 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.006262, allocations: 20.42 kB / 0.8182 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.006333, allocations: 63.36 kB / 0.8183 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006334, allocations: 0 / 0.8183 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.006337, allocations: 9.281 kB / 0.8183 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.006339, allocations: 0 / 0.8183 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.006445, allocations: 149.1 kB / 0.8184 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006446, allocations: 2.562 kB / 0.8184 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.006458, allocations: 4 kB / 0.8184 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.00646, allocations: 0 / 0.8184 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.006463, allocations: 0 / 0.8184 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006464, allocations: 0 / 0.8184 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006465, allocations: 7.938 kB / 0.8184 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.67e-05/0.006542, allocations: 200.6 kB / 0.8186 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.006562, allocations: 27.78 kB / 0.8187 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.006572, allocations: 0 / 0.8187 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.006601, allocations: 1.031 kB / 0.8187 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.006629, allocations: 15.91 kB / 0.8187 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.006631, allocations: 5.219 kB / 0.8187 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.714e-05/0.006718, allocations: 215 kB / 0.8189 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006718, allocations: 0 / 0.8189 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002037/0.006922, allocations: 68.77 kB / 0.8189 GB, free: 8.965 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.0001699/0.007092, allocations: 167.7 kB / 0.8191 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.769e-05/0.007159, allocations: 45.64 kB / 0.8191 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.00716, allocations: 0 / 0.8191 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.007173, allocations: 11.69 kB / 0.8192 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.007338, allocations: 16.59 kB / 0.8192 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.007771, allocations: 320.1 kB / 0.8195 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.007815, allocations: 84.33 kB / 0.8196 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.799e-05/0.007843, allocations: 14.64 kB / 0.8196 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.008103, allocations: 78.14 kB / 0.8196 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/0.008104, allocations: 0 / 0.8196 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of Templates: time 0.003618/0.01172, allocations: 2.279 MB / 0.8219 GB, free: 5.938 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.799183367751539]