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.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.001401/0.001401, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001578/0.001578, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.426/1.426, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.665/2.665, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.713e-06/1.713e-06, allocations: 0 / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.686e-05, allocations: 2.281 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00279/0.002817, allocations: 1.518 MB / 0.9525 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.00422, allocations: 0.7095 MB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.004262, allocations: 0 / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.004501, allocations: 135.7 kB / 0.9533 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.004633, allocations: 71.77 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.005346, allocations: 191.4 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.005482, allocations: 71.8 kB / 0.9537 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.005521, allocations: 0 / 0.9537 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.005602, allocations: 43.88 kB / 0.9537 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.005737, allocations: 87.89 kB / 0.9538 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.005753, allocations: 0 / 0.9538 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.006214, allocations: 243.6 kB / 0.954 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.00633, allocations: 55.84 kB / 0.9541 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.006385, allocations: 31.86 kB / 0.9541 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005162/0.006901, allocations: 315.1 kB / 0.9544 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.006904, allocations: 4 kB / 0.9544 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006905, allocations: 0 / 0.9544 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.006911, allocations: 0 / 0.9544 GB, free: 8.02 MB / 0.8575 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.0007808/0.007692, allocations: 444.8 kB / 0.9548 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.007731, allocations: 12.03 kB / 0.9548 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.007784, allocations: 20.8 kB / 0.9549 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.008059, allocations: 209.8 kB / 0.9551 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.008072, allocations: 4.375 kB / 0.9551 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.008086, allocations: 384 / 0.9551 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.008299, allocations: 90.14 kB / 0.9551 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.00831, allocations: 192 / 0.9551 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.008319, allocations: 384 / 0.9551 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.008325, allocations: 3.938 kB / 0.9551 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.008542, allocations: 83.94 kB / 0.9552 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.009074, allocations: 332.5 kB / 0.9555 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.00926, allocations: 94.47 kB / 0.9556 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.009378, allocations: 56.88 kB / 0.9557 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.009423, allocations: 15.98 kB / 0.9557 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.009454, allocations: 34.5 kB / 0.9557 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.009455, allocations: 0 / 0.9557 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004709/0.009926, allocations: 185.4 kB / 0.9559 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.009967, allocations: 51.41 kB / 0.956 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.01035, allocations: 356.4 kB / 0.9563 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.01037, allocations: 29.83 kB / 0.9563 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01047, allocations: 136.1 kB / 0.9565 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.01049, allocations: 11.94 kB / 0.9565 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.01054, allocations: 21.72 kB / 0.9565 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.01069, allocations: 334.8 kB / 0.9568 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.01087, allocations: 95.94 kB / 0.9569 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.01102, allocations: 91.95 kB / 0.957 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.01135, allocations: 212.7 kB / 0.9572 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01135, allocations: 0 / 0.9572 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003929/0.01174, allocations: 257.3 kB / 0.9574 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01176, allocations: 11.92 kB / 0.9575 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01176, allocations: 0 / 0.9575 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01178, allocations: 0 / 0.9575 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.01187, allocations: 8 kB / 0.9575 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.01187, allocations: 0 / 0.9575 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.01195, allocations: 19.83 kB / 0.9575 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.01195, allocations: 8 kB / 0.9575 GB, free: 4.684 MB / 0.8575 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.0001208/0.01208, allocations: 141.8 kB / 0.9576 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.01212, allocations: 27.73 kB / 0.9576 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.01243, allocations: 138.7 kB / 0.9578 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.01244, allocations: 4 kB / 0.9578 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.01245, allocations: 7.984 kB / 0.9578 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01245, allocations: 3.938 kB / 0.9578 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.01266, allocations: 181.3 kB / 0.958 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01266, allocations: 3.938 kB / 0.958 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.01272, allocations: 11.98 kB / 0.958 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01273, allocations: 0 / 0.958 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01274, allocations: 7.938 kB / 0.958 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01274, allocations: 0 / 0.958 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01274, allocations: 0 / 0.958 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.01306, allocations: 227.3 kB / 0.9582 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.01311, allocations: 23.86 kB / 0.9582 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.01313, allocations: 15.95 kB / 0.9582 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.01322, allocations: 0 / 0.9582 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.01327, allocations: 4 kB / 0.9582 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01327, allocations: 3.984 kB / 0.9583 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002682/0.01354, allocations: 255 kB / 0.9585 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01354, allocations: 0 / 0.9585 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003588/0.0139, allocations: 67.86 kB / 0.9586 GB, free: 3.52 MB / 0.8575 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.0003463/0.01424, allocations: 165.3 kB / 0.9587 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000337/0.01458, allocations: 147.9 kB / 0.9589 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01458, allocations: 0 / 0.9589 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.01471, allocations: 47.95 kB / 0.9589 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.01503, allocations: 15.16 kB / 0.9589 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.01567, allocations: 378.3 kB / 0.9593 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.0158, allocations: 132.3 kB / 0.9594 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.01584, allocations: 12.48 kB / 0.9594 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.01588, allocations: 16.5 kB / 0.9594 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/0.01588, allocations: 0 / 0.9594 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of Templates: time 0.005986/0.02187, allocations: 2.132 MB / 0.9615 GB, free: 472 kB / 0.8575 GB " [Timeout remaining time 300] 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: 7.62499738112092]