Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 1.107 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002902/1.014, allocations: 1.529 MB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001235/1.015, allocations: 0.7405 MB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/1.015, allocations: 0.9375 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002603/1.015, allocations: 133.7 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/1.015, allocations: 69.8 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/1.016, allocations: 177.3 kB / 1.275 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/1.016, allocations: 67.12 kB / 1.275 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/1.016, allocations: 7.422 kB / 1.275 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/1.016, allocations: 42.55 kB / 1.275 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/1.016, allocations: 85.59 kB / 1.275 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/1.016, allocations: 2.125 kB / 1.275 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/1.017, allocations: 233.3 kB / 1.275 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/1.017, allocations: 59.77 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/1.017, allocations: 62.53 kB / 1.275 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/1.017, allocations: 277 kB / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.017, allocations: 4 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/1.017, allocations: 0.9375 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.017, allocations: 0 / 1.275 GB, free: 6.016 MB / 0.9981 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.000594/1.018, allocations: 0.5118 MB / 1.276 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.018, allocations: 9.594 kB / 1.276 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/1.018, allocations: 20.64 kB / 1.276 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/1.018, allocations: 261.4 kB / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/1.018, allocations: 384 / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/1.018, allocations: 1.906 kB / 1.276 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/1.018, allocations: 86.78 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.018, allocations: 1.156 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/1.018, allocations: 0 / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/1.018, allocations: 1.828 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/1.019, allocations: 85.11 kB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/1.019, allocations: 400.9 kB / 1.277 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/1.019, allocations: 88.11 kB / 1.277 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/1.019, allocations: 46 kB / 1.277 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/1.019, allocations: 19.89 kB / 1.277 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/1.019, allocations: 36.12 kB / 1.277 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/1.019, allocations: 4 kB / 1.277 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004224/1.02, allocations: 175.4 kB / 1.277 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/1.02, allocations: 52.19 kB / 1.277 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/1.02, allocations: 357.8 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/1.02, allocations: 25.7 kB / 1.277 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/1.02, allocations: 133.1 kB / 1.278 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/1.02, allocations: 12.86 kB / 1.278 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/1.02, allocations: 28.12 kB / 1.278 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.46e-05/1.02, allocations: 333.6 kB / 1.278 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/1.021, allocations: 102.7 kB / 1.278 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/1.021, allocations: 106.4 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/1.021, allocations: 214.1 kB / 1.278 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.021, allocations: 1.031 kB / 1.278 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003809/1.021, allocations: 248.2 kB / 1.279 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.021, allocations: 5.375 kB / 1.279 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.021, allocations: 0 / 1.279 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.021, allocations: 0.9375 kB / 1.279 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/1.021, allocations: 9.766 kB / 1.279 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.021, allocations: 1.031 kB / 1.279 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/1.022, allocations: 18.84 kB / 1.279 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.022, allocations: 2.766 kB / 1.279 GB, free: 3.926 MB / 0.9981 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 0.0001058/1.022, allocations: 151.9 kB / 1.279 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/1.022, allocations: 19.52 kB / 1.279 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/1.022, allocations: 138.5 kB / 1.279 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.022, allocations: 1.5 kB / 1.279 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.022, allocations: 0 / 1.279 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.022, allocations: 8.469 kB / 1.279 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/1.022, allocations: 247.3 kB / 1.279 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.022, allocations: 0.9688 kB / 1.279 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/1.022, allocations: 9.203 kB / 1.279 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.022, allocations: 0 / 1.279 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/1.022, allocations: 2.531 kB / 1.279 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.022, allocations: 0 / 1.279 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.022, allocations: 0 / 1.279 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/1.023, allocations: 242.4 kB / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/1.023, allocations: 102.1 kB / 1.28 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/1.023, allocations: 0.5 kB / 1.28 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/1.023, allocations: 6.859 kB / 1.28 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/1.023, allocations: 2.188 kB / 1.28 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/1.023, allocations: 2.031 kB / 1.28 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002499/1.023, allocations: 253.8 kB / 1.28 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.023, allocations: 4.031 kB / 1.28 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003776/1.023, allocations: 68.14 kB / 1.28 GB, free: 3.125 MB / 0.9981 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.0002632/1.024, allocations: 159.6 kB / 1.28 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003189/1.024, allocations: 143.8 kB / 1.28 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.024, allocations: 0 / 1.28 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/1.024, allocations: 49.38 kB / 1.28 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/1.024, allocations: 21.44 kB / 1.28 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/1.025, allocations: 388 kB / 1.281 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/1.025, allocations: 0.7408 MB / 1.281 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.109e-05/1.025, allocations: 16.22 kB / 1.281 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/1.025, allocations: 11.94 kB / 1.281 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.025, allocations: 2.688 kB / 1.281 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.005794/1.031, allocations: 2.106 MB / 1.283 GB, free: 1.906 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.938517719507217]