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.001509/0.001509, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001868/0.001868, allocations: 169 kB / 23.27 MB, free: 1.223 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.9716/0.9716, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.333/2.333, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.302e-06/1.302e-06, allocations: 0 / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.581e-05, allocations: 9.062 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002459/0.002485, allocations: 1.561 MB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003512, allocations: 0.7282 MB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.003559, allocations: 0 / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.003789, allocations: 131.7 kB / 0.8922 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.003877, allocations: 67.83 kB / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.004484, allocations: 195.4 kB / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.00459, allocations: 63.81 kB / 0.8925 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.004622, allocations: 4 kB / 0.8925 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.89e-05/0.004701, allocations: 43.94 kB / 0.8925 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.004799, allocations: 91.83 kB / 0.8926 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.004812, allocations: 0 / 0.8926 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.005184, allocations: 235.6 kB / 0.8928 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.005309, allocations: 63.83 kB / 0.8929 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.005351, allocations: 27.86 kB / 0.8929 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.005771, allocations: 303.1 kB / 0.8932 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.005776, allocations: 0 / 0.8932 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.683e-06/0.005778, allocations: 0 / 0.8932 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.005784, allocations: 0 / 0.8932 GB, free: 6.227 MB / 0.8542 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.0005532/0.006337, allocations: 0.538 MB / 0.8937 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.006377, allocations: 8.625 kB / 0.8937 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.006413, allocations: 24.8 kB / 0.8938 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.006565, allocations: 176.8 kB / 0.8939 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.006573, allocations: 384 / 0.8939 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-06/0.006579, allocations: 4.375 kB / 0.8939 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.641e-05/0.006676, allocations: 50.95 kB / 0.894 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.006682, allocations: 4.188 kB / 0.894 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.006688, allocations: 384 / 0.894 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.006694, allocations: 3.938 kB / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.958e-05/0.006714, allocations: 7.984 kB / 0.894 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.006971, allocations: 292.2 kB / 0.8943 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.69e-05/0.007018, allocations: 31.05 kB / 0.8943 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.007033, allocations: 15.75 kB / 0.8943 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.007077, allocations: 15.98 kB / 0.8943 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.0071, allocations: 41.39 kB / 0.8944 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.007101, allocations: 4 kB / 0.8944 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001295/0.00723, allocations: 61.44 kB / 0.8944 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.007253, allocations: 51.41 kB / 0.8945 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.007459, allocations: 354.1 kB / 0.8948 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.00747, allocations: 29.69 kB / 0.8949 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.007545, allocations: 198.7 kB / 0.895 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.007555, allocations: 4 kB / 0.895 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.007591, allocations: 35.34 kB / 0.8951 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002555/0.007846, allocations: 0.5196 MB / 0.8956 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.00787, allocations: 16.12 kB / 0.8956 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.007886, allocations: 12 kB / 0.8956 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.007939, allocations: 50.56 kB / 0.8957 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.007942, allocations: 0 / 0.8957 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001098/0.008052, allocations: 109.4 kB / 0.8958 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.008065, allocations: 4 kB / 0.8958 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.008075, allocations: 7.922 kB / 0.8958 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.008087, allocations: 0 / 0.8958 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.008163, allocations: 4 kB / 0.8958 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.008167, allocations: 0 / 0.8958 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.008194, allocations: 15.89 kB / 0.8958 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.008198, allocations: 0 / 0.8958 GB, free: 3.371 MB / 0.8542 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.536e-05/0.008274, allocations: 156.6 kB / 0.8959 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.008296, allocations: 19.86 kB / 0.896 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.937e-05/0.008396, allocations: 66.64 kB / 0.896 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008398, allocations: 0 / 0.896 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.0084, allocations: 0 / 0.896 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008403, allocations: 0 / 0.896 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.008734, allocations: 149.2 kB / 0.8962 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008736, allocations: 0 / 0.8962 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.008761, allocations: 8.031 kB / 0.8962 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.008764, allocations: 0 / 0.8962 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.008769, allocations: 0 / 0.8962 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008771, allocations: 0 / 0.8962 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.008774, allocations: 3.938 kB / 0.8962 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.008888, allocations: 199.8 kB / 0.8964 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.008913, allocations: 19.86 kB / 0.8964 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.008925, allocations: 4 kB / 0.8964 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.00896, allocations: 11.92 kB / 0.8964 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.008989, allocations: 7.938 kB / 0.8964 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.008992, allocations: 4.031 kB / 0.8964 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001165/0.009108, allocations: 226.9 kB / 0.8966 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009108, allocations: 0 / 0.8966 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002419/0.00935, allocations: 59.94 kB / 0.8967 GB, free: 2.383 MB / 0.8542 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.0002141/0.009564, allocations: 171 kB / 0.8969 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.095e-05/0.009645, allocations: 31.67 kB / 0.8969 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.009647, allocations: 0 / 0.8969 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.355e-05/0.00966, allocations: 11.69 kB / 0.8969 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.009915, allocations: 16.72 kB / 0.8969 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.01046, allocations: 334.6 kB / 0.8972 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.862e-05/0.01051, allocations: 87.3 kB / 0.8973 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.01054, allocations: 12.48 kB / 0.8973 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.01059, allocations: 78.2 kB / 0.8974 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of SimCode: time 7.02e-07/0.0106, allocations: 0 / 0.8974 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.004152/0.01475, allocations: 2.269 MB / 0.8996 GB, free: 15.34 MB / 0.8698 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.354940053075552]