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.001092/0.001092, allocations: 80.81 kB / 20.75 MB, free: 3.73 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.0009816/0.0009816, allocations: 161 kB / 24.17 MB, free: 320 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 0.9998/0.9998, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 2.037/2.037, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] 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.112e-06/1.112e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.213e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001784/0.001796, allocations: 1.618 MB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.002698, allocations: 0.7424 MB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.002733, allocations: 1.953 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.002919, allocations: 129.2 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.828e-05/0.002997, allocations: 79.97 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.003426, allocations: 160.8 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.003517, allocations: 69.27 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.737e-05/0.003544, allocations: 0 / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.003616, allocations: 47.94 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.003694, allocations: 67.86 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.003703, allocations: 0 / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.004027, allocations: 273.1 kB / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.004105, allocations: 59.84 kB / 0.7633 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.004134, allocations: 31.84 kB / 0.7633 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.004393, allocations: 299.2 kB / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.004395, allocations: 9.125 kB / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004395, allocations: 0 / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.004398, allocations: 0 / 0.7636 GB, free: 2.992 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.0003873/0.004785, allocations: 404.4 kB / 0.764 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.004812, allocations: 8.031 kB / 0.764 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.00484, allocations: 12.92 kB / 0.764 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004975, allocations: 171 kB / 0.7642 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.004983, allocations: 4.375 kB / 0.7642 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-06/0.004989, allocations: 384 / 0.7642 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.496e-05/0.005064, allocations: 50.47 kB / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.00507, allocations: 1.969 kB / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.005075, allocations: 384 / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005081, allocations: 7.922 kB / 0.7642 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.005098, allocations: 7.938 kB / 0.7642 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.005274, allocations: 185.8 kB / 0.7644 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.34e-05/0.005317, allocations: 71.97 kB / 0.7645 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.121e-05/0.005329, allocations: 4.859 kB / 0.7645 GB, free: 2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.005362, allocations: 20.09 kB / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.491e-05/0.005437, allocations: 34.55 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.005437, allocations: 0 / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.138e-05/0.005529, allocations: 52.31 kB / 0.7646 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.005551, allocations: 51.41 kB / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.005695, allocations: 266.9 kB / 0.7649 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.005703, allocations: 25.7 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.005742, allocations: 112.5 kB / 0.765 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.005753, allocations: 7.953 kB / 0.765 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.00578, allocations: 25.69 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.005849, allocations: 335.8 kB / 0.7654 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.005869, allocations: 18.83 kB / 0.7654 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.005881, allocations: 12.94 kB / 0.7654 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.005923, allocations: 47.66 kB / 0.7654 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005924, allocations: 8.812 kB / 0.7655 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 7.567e-05/0.006, allocations: 84.06 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.006009, allocations: 4.75 kB / 0.7655 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006014, allocations: 0 / 0.7655 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.006025, allocations: 4.688 kB / 0.7655 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.006061, allocations: 8 kB / 0.7655 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.006063, allocations: 0.5 kB / 0.7655 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.006084, allocations: 11.89 kB / 0.7656 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.006089, allocations: 3.438 kB / 0.7656 GB, free: 0.8242 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.054e-05/0.006139, allocations: 112.7 kB / 0.7657 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.006157, allocations: 8 kB / 0.7657 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.006222, allocations: 62.64 kB / 0.7657 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.006225, allocations: 3.938 kB / 0.7657 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.006227, allocations: 4 kB / 0.7657 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.006229, allocations: 0 / 0.7657 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.222e-05/0.006321, allocations: 108.6 kB / 0.7658 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.006323, allocations: 4 kB / 0.7659 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.006335, allocations: 0 / 0.7659 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.006336, allocations: 0 / 0.7659 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.006339, allocations: 4 kB / 0.7659 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.00634, allocations: 0 / 0.7659 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006341, allocations: 0 / 0.7659 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.283e-05/0.006414, allocations: 194.6 kB / 0.766 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.006433, allocations: 21.39 kB / 0.7661 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.006443, allocations: 0 / 0.7661 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.135e-05/0.006474, allocations: 3.984 kB / 0.7661 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.006502, allocations: 7.938 kB / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.006504, allocations: 0 / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.306e-05/0.006567, allocations: 97.12 kB / 0.7662 GB, free: 156 kB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006567, allocations: 1.469 kB / 0.7662 GB, free: 156 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001921/0.006759, allocations: 67.92 kB / 0.7662 GB, free: 88 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.0002989/0.007058, allocations: 153.5 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.512e-05/0.007123, allocations: 32.83 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.007126, allocations: 0 / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.007136, allocations: 13.39 kB / 0.7664 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.007269, allocations: 17.16 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.007714, allocations: 318.4 kB / 0.7667 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.00776, allocations: 88.08 kB / 0.7668 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.007789, allocations: 9.984 kB / 0.7668 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.007832, allocations: 63.97 kB / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.007832, allocations: 0 / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.003849/0.01168, allocations: 2.217 MB / 0.7691 GB, free: 13.25 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 -s gbode -gbm=radauIIA3 -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.201268833596259]