Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001018/0.001018, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001045/0.001045, allocations: 181 kB / 23.36 MB, free: 1.133 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.081/1.081, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.51/2.51, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.541e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003166/0.003192, allocations: 1.608 MB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.004626, allocations: 0.736 MB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.004673, allocations: 0 / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.00494, allocations: 135.7 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.005054, allocations: 71.77 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.005702, allocations: 155.5 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.005829, allocations: 63.8 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.005868, allocations: 8 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.005973, allocations: 51.88 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.006087, allocations: 63.91 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.006102, allocations: 4 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.006579, allocations: 263.5 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.006672, allocations: 71.77 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.006711, allocations: 23.88 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.0071, allocations: 303.1 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.007105, allocations: 4 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.252e-06/0.007106, allocations: 0 / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.00711, allocations: 4 kB / 0.8421 GB, free: 10.54 MB / 0.8073 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.0005137/0.007624, allocations: 399.4 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.007668, allocations: 12.62 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.007709, allocations: 8.922 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.007912, allocations: 182 kB / 0.8427 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.007922, allocations: 384 / 0.8427 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.00793, allocations: 384 / 0.8427 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.008046, allocations: 53.72 kB / 0.8428 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.008056, allocations: 4.188 kB / 0.8428 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.008062, allocations: 384 / 0.8428 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.008069, allocations: 7.938 kB / 0.8428 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.00809, allocations: 7.938 kB / 0.8428 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.008345, allocations: 177.9 kB / 0.843 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.008413, allocations: 73.34 kB / 0.843 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.008429, allocations: 12.86 kB / 0.843 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.008477, allocations: 19.73 kB / 0.8431 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.008502, allocations: 34.56 kB / 0.8431 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.008504, allocations: 0 / 0.8431 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001309/0.008634, allocations: 49.62 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.008664, allocations: 51.41 kB / 0.8432 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.008877, allocations: 262.9 kB / 0.8434 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.008888, allocations: 29.69 kB / 0.8435 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.008943, allocations: 112.6 kB / 0.8436 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.008957, allocations: 3.953 kB / 0.8436 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.008998, allocations: 33.69 kB / 0.8436 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.009104, allocations: 334.7 kB / 0.8439 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.009133, allocations: 14.83 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.009156, allocations: 18.38 kB / 0.844 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.009212, allocations: 51.8 kB / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.009214, allocations: 0 / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001028/0.009317, allocations: 81.14 kB / 0.8441 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.009332, allocations: 6.344 kB / 0.8441 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.00934, allocations: 7.984 kB / 0.8441 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.009356, allocations: 3.938 kB / 0.8441 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.009409, allocations: 4 kB / 0.8441 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.009413, allocations: 7.922 kB / 0.8441 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.009449, allocations: 11.88 kB / 0.8441 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.009455, allocations: 4 kB / 0.8441 GB, free: 8.344 MB / 0.8073 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 7.143e-05/0.009526, allocations: 116.7 kB / 0.8442 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.009554, allocations: 7.984 kB / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.009648, allocations: 58.67 kB / 0.8443 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.009652, allocations: 3.938 kB / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.009654, allocations: 0 / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.009657, allocations: 4 kB / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.009804, allocations: 105.8 kB / 0.8444 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009806, allocations: 0 / 0.8444 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.009832, allocations: 4 kB / 0.8444 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.009837, allocations: 11.95 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.009842, allocations: 4 kB / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.009843, allocations: 0 / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009845, allocations: 3.938 kB / 0.8444 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.009957, allocations: 190.2 kB / 0.8446 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.009989, allocations: 19.84 kB / 0.8446 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.01, allocations: 4 kB / 0.8446 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.01006, allocations: 0 / 0.8446 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.01009, allocations: 3.938 kB / 0.8446 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.0101, allocations: 0 / 0.8446 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001054/0.0102, allocations: 100.6 kB / 0.8447 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0102, allocations: 4 kB / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00031/0.01051, allocations: 63.94 kB / 0.8448 GB, free: 7.602 MB / 0.8073 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.0002722/0.01078, allocations: 148.2 kB / 0.8449 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.629e-05/0.01087, allocations: 32.78 kB / 0.845 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.01088, allocations: 4 kB / 0.845 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.01089, allocations: 12.84 kB / 0.845 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.01216, allocations: 14.72 kB / 0.845 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.01291, allocations: 326.9 kB / 0.8453 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.135e-05/0.01298, allocations: 79.31 kB / 0.8454 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.01303, allocations: 16.48 kB / 0.8454 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.01309, allocations: 59.38 kB / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/0.0131, allocations: 0 / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of Templates: time 0.006154/0.01925, allocations: 2.208 MB / 0.8476 GB, free: 4.66 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.497159107588232]