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.00104/0.00104, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00554/0.00554, allocations: 161 kB / 24.16 MB, free: 336 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.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.924e-06/1.924e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.907e-05, allocations: 6.078 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002431/0.00245, allocations: 1.571 MB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009795/0.00343, allocations: 0.752 MB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.003467, allocations: 0 / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.003675, allocations: 133 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.739e-05/0.003763, allocations: 71.22 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.004254, allocations: 186.2 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.129e-05/0.004346, allocations: 64.84 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.004383, allocations: 5.094 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.004464, allocations: 45.47 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.004552, allocations: 66.8 kB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.004564, allocations: 7.938 kB / 0.7629 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.004845, allocations: 243.5 kB / 0.7631 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.004917, allocations: 64.69 kB / 0.7632 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.004947, allocations: 23.88 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.005222, allocations: 303.1 kB / 0.7635 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005224, allocations: 0.5312 kB / 0.7635 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005224, allocations: 1.031 kB / 0.7635 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.005227, allocations: 0 / 0.7635 GB, free: 3.098 MB / 0.7136 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.000419/0.005646, allocations: 407.3 kB / 0.7639 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.005674, allocations: 8.938 kB / 0.7639 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.005704, allocations: 12.92 kB / 0.7639 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.005842, allocations: 175.2 kB / 0.7641 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.00585, allocations: 4.312 kB / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-06/0.005859, allocations: 384 / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.434e-05/0.005953, allocations: 54.44 kB / 0.7641 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.00596, allocations: 192 / 0.7641 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.005967, allocations: 1.125 kB / 0.7641 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.005974, allocations: 7.938 kB / 0.7641 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.005994, allocations: 0.75 kB / 0.7641 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.006192, allocations: 187.9 kB / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.006248, allocations: 73.23 kB / 0.7644 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.006262, allocations: 12.91 kB / 0.7644 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.006296, allocations: 15.98 kB / 0.7644 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.006318, allocations: 31.91 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.006319, allocations: 0 / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001037/0.006423, allocations: 45.62 kB / 0.7645 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.006454, allocations: 59.88 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.006608, allocations: 264.3 kB / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.00662, allocations: 29.7 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.006669, allocations: 116.5 kB / 0.7649 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.729e-06/0.006679, allocations: 3.953 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.006706, allocations: 28.94 kB / 0.765 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.006801, allocations: 338.8 kB / 0.7653 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.006821, allocations: 14.83 kB / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.006836, allocations: 12 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.006883, allocations: 53.77 kB / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006885, allocations: 0 / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.511e-05/0.006971, allocations: 81.62 kB / 0.7654 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.006983, allocations: 4 kB / 0.7654 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.006989, allocations: 3.031 kB / 0.7654 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.007004, allocations: 3.938 kB / 0.7655 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.00705, allocations: 7.984 kB / 0.7655 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.007053, allocations: 3.938 kB / 0.7655 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.007075, allocations: 11.89 kB / 0.7655 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-06/0.007079, allocations: 0 / 0.7655 GB, free: 0.918 MB / 0.7136 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.661e-05/0.007135, allocations: 112.7 kB / 0.7656 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.007151, allocations: 9.484 kB / 0.7656 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.007218, allocations: 58.72 kB / 0.7656 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.00722, allocations: 3.938 kB / 0.7657 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.007221, allocations: 0.6562 kB / 0.7657 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007225, allocations: 3.984 kB / 0.7657 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.757e-05/0.007322, allocations: 111.1 kB / 0.7658 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.007323, allocations: 0 / 0.7658 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.007335, allocations: 7.922 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.007337, allocations: 6.438 kB / 0.7658 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-06/0.007341, allocations: 0 / 0.7658 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.007341, allocations: 0 / 0.7658 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007342, allocations: 0 / 0.7658 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.692e-05/0.007419, allocations: 182.2 kB / 0.7659 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.00744, allocations: 23.84 kB / 0.766 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.00745, allocations: 3.031 kB / 0.766 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.007478, allocations: 4 kB / 0.766 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.007502, allocations: 3.938 kB / 0.766 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.007503, allocations: 0 / 0.766 GB, free: 360 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.007569, allocations: 100.6 kB / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007569, allocations: 0 / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001742/0.007743, allocations: 63.94 kB / 0.7661 GB, free: 192 kB / 0.7136 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.0001761/0.00792, allocations: 153.7 kB / 0.7663 GB, free: 32 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.205e-05/0.007982, allocations: 28.84 kB / 0.7663 GB, free: 0 / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/0.007996, allocations: 4.047 kB / 0.7663 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.008007, allocations: 11.28 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.00813, allocations: 20.59 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.008567, allocations: 328.8 kB / 0.7667 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.008611, allocations: 88.66 kB / 0.7667 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.008638, allocations: 9.766 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.008685, allocations: 60.03 kB / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of SimCode: time 8.11e-07/0.008686, allocations: 0 / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.003772/0.01246, allocations: 2.211 MB / 0.769 GB, free: 13.35 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: 5.009813495911658]