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.001077/0.001077, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001696/0.001696, allocations: 165 kB / 23.02 MB, free: 1.551 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 0.9966/0.9966, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.129/2.129, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.893e-06/1.893e-06, allocations: 0 / 0.8782 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3e-05, allocations: 3.562 kB / 0.8782 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002247/0.002277, allocations: 1.56 MB / 0.8797 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003327, allocations: 0.7458 MB / 0.8805 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.00337, allocations: 0 / 0.8805 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.003597, allocations: 130.5 kB / 0.8806 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.003688, allocations: 74.86 kB / 0.8807 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006084/0.004297, allocations: 191.4 kB / 0.8809 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.004402, allocations: 67.81 kB / 0.8809 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.004448, allocations: 7.984 kB / 0.8809 GB, free: 2.383 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.004508, allocations: 35.95 kB / 0.881 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004617, allocations: 88.52 kB / 0.881 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.004633, allocations: 5.656 kB / 0.8811 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.004973, allocations: 239.5 kB / 0.8813 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.00507, allocations: 63.83 kB / 0.8813 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.005111, allocations: 31.86 kB / 0.8814 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.005443, allocations: 299.1 kB / 0.8817 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.005445, allocations: 0.5 kB / 0.8817 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.253e-06/0.005446, allocations: 1.5 kB / 0.8817 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.005451, allocations: 0 / 0.8817 GB, free: 1.637 MB / 0.7917 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.0005285/0.00598, allocations: 0.5381 MB / 0.8822 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.006017, allocations: 8.719 kB / 0.8822 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.006068, allocations: 24.8 kB / 0.8822 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.006228, allocations: 186.1 kB / 0.8824 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.00624, allocations: 384 / 0.8824 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.006254, allocations: 4.375 kB / 0.8824 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.00638, allocations: 50.95 kB / 0.8824 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.006391, allocations: 1.781 kB / 0.8824 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.006399, allocations: 384 / 0.8824 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.006408, allocations: 3.938 kB / 0.8825 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.006437, allocations: 11.94 kB / 0.8825 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.006822, allocations: 347.7 kB / 0.8828 GB, free: 376 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.802e-05/0.00688, allocations: 35.06 kB / 0.8828 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.006903, allocations: 7.688 kB / 0.8828 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.006956, allocations: 16.05 kB / 0.8828 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.006978, allocations: 41.33 kB / 0.8829 GB, free: 248 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.006979, allocations: 0 / 0.8829 GB, free: 248 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.007142, allocations: 65.48 kB / 0.883 GB, free: 176 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.007169, allocations: 51.41 kB / 0.883 GB, free: 112 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.007411, allocations: 354.3 kB / 0.8833 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.007423, allocations: 29.83 kB / 0.8834 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.007517, allocations: 198.8 kB / 0.8836 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.007528, allocations: 3.953 kB / 0.8836 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.007566, allocations: 39.36 kB / 0.8836 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.007705, allocations: 0.5157 MB / 0.8841 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.007732, allocations: 16 kB / 0.8841 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/0.007753, allocations: 16 kB / 0.8841 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.007967, allocations: 58.94 kB / 0.8842 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.00797, allocations: 4 kB / 0.8842 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001047/0.008074, allocations: 101.5 kB / 0.8843 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.008089, allocations: 11.94 kB / 0.8843 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.008095, allocations: 0 / 0.8843 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.008112, allocations: 7.938 kB / 0.8843 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.008187, allocations: 11.98 kB / 0.8843 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.008192, allocations: 0 / 0.8843 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.00822, allocations: 11.89 kB / 0.8843 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.008225, allocations: 0 / 0.8843 GB, free: 14.7 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 6.648e-05/0.008292, allocations: 156.6 kB / 0.8845 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.00832, allocations: 27.75 kB / 0.8845 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.008423, allocations: 62.7 kB / 0.8846 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008425, allocations: 4.125 kB / 0.8846 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.008429, allocations: 0 / 0.8846 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.008434, allocations: 3.984 kB / 0.8846 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.008572, allocations: 188.6 kB / 0.8848 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008573, allocations: 4 kB / 0.8848 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.008599, allocations: 8 kB / 0.8848 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008602, allocations: 0 / 0.8848 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.008609, allocations: 3.938 kB / 0.8848 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008611, allocations: 0 / 0.8848 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008612, allocations: 0 / 0.8848 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.008713, allocations: 211.7 kB / 0.885 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.00874, allocations: 23.84 kB / 0.885 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.008755, allocations: 7.938 kB / 0.885 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.415e-05/0.008789, allocations: 4 kB / 0.885 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.008827, allocations: 0 / 0.885 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.008831, allocations: 4 kB / 0.885 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001282/0.008959, allocations: 235 kB / 0.8852 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008959, allocations: 0 / 0.8852 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002399/0.009199, allocations: 67.88 kB / 0.8853 GB, free: 13.63 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.0002428/0.009441, allocations: 167.1 kB / 0.8855 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.009551, allocations: 39.66 kB / 0.8855 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009553, allocations: 0 / 0.8855 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.016e-05/0.009573, allocations: 19.62 kB / 0.8855 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.009787, allocations: 12.59 kB / 0.8855 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.01045, allocations: 326.9 kB / 0.8858 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.01051, allocations: 79.31 kB / 0.8859 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.01054, allocations: 12.48 kB / 0.8859 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.01057, allocations: 12.5 kB / 0.8859 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of SimCode: time 8.91e-07/0.01057, allocations: 4 kB / 0.8859 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.004573/0.01514, allocations: 2.181 MB / 0.8881 GB, free: 10.74 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 -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.436713174916804]