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.0007894/0.0007894, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007816/0.0007816, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8692/0.8692, allocations: 177.1 MB / 203.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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 1.679/1.679, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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 2.004e-06/2.004e-06, allocations: 0 / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.959e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003203/0.003233, allocations: 1.511 MB / 0.9533 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.004719, allocations: 0.7172 MB / 0.954 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.004765, allocations: 0 / 0.954 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.005021, allocations: 135.7 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.005128, allocations: 79.7 kB / 0.9542 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.005688, allocations: 183.5 kB / 0.9543 GB, free: 300 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.005785, allocations: 63.81 kB / 0.9544 GB, free: 236 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.005821, allocations: 0 / 0.9544 GB, free: 236 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.005881, allocations: 51.86 kB / 0.9545 GB, free: 184 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.005979, allocations: 83.89 kB / 0.9545 GB, free: 100 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.005994, allocations: 4 kB / 0.9545 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.006313, allocations: 231.6 kB / 0.9548 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.006404, allocations: 67.77 kB / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.006446, allocations: 27.88 kB / 0.9549 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.006759, allocations: 307.1 kB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.006763, allocations: 4 kB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.644e-06/0.006765, allocations: 3.938 kB / 0.9552 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.006771, allocations: 3.938 kB / 0.9552 GB, free: 15.46 MB / 0.9167 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.0005438/0.007314, allocations: 444.8 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.007354, allocations: 8.031 kB / 0.9556 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.0074, allocations: 20.8 kB / 0.9556 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.007587, allocations: 209.9 kB / 0.9558 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.0076, allocations: 4.359 kB / 0.9558 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.007609, allocations: 384 / 0.9558 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.007762, allocations: 82.22 kB / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.007771, allocations: 192 / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.00778, allocations: 384 / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.007787, allocations: 3.938 kB / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.007909, allocations: 87.92 kB / 0.956 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.008294, allocations: 340.4 kB / 0.9563 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.0084, allocations: 90.47 kB / 0.9564 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.008459, allocations: 48.89 kB / 0.9564 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.008495, allocations: 15.98 kB / 0.9565 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.008514, allocations: 38.5 kB / 0.9565 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.008515, allocations: 0 / 0.9565 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.000274/0.008789, allocations: 181.4 kB / 0.9567 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.008816, allocations: 51.41 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.009054, allocations: 360.5 kB / 0.9571 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.009064, allocations: 29.7 kB / 0.9571 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.00913, allocations: 136.1 kB / 0.9572 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.009141, allocations: 3.953 kB / 0.9572 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.009177, allocations: 25.7 kB / 0.9572 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.00926, allocations: 338.8 kB / 0.9576 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.532e-05/0.009356, allocations: 91.95 kB / 0.9577 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.261e-05/0.009438, allocations: 95.94 kB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.009607, allocations: 208.3 kB / 0.9579 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.00961, allocations: 4 kB / 0.9579 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002191/0.009829, allocations: 265.3 kB / 0.9582 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.009843, allocations: 11.94 kB / 0.9582 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.00985, allocations: 0 / 0.9582 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.009861, allocations: 0 / 0.9582 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.009923, allocations: 7.984 kB / 0.9582 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.009927, allocations: 0 / 0.9582 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.009963, allocations: 23.88 kB / 0.9582 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.009969, allocations: 0 / 0.9582 GB, free: 12.13 MB / 0.9167 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 8.196e-05/0.01005, allocations: 141.8 kB / 0.9584 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.01007, allocations: 27.8 kB / 0.9584 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.01027, allocations: 150.7 kB / 0.9585 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01027, allocations: 0 / 0.9585 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.01028, allocations: 3.938 kB / 0.9586 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01028, allocations: 0 / 0.9586 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.01043, allocations: 189.3 kB / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01043, allocations: 4 kB / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.01046, allocations: 4 kB / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01046, allocations: 0 / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01047, allocations: 7.922 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01047, allocations: 3.938 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01048, allocations: 4 kB / 0.9588 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.01065, allocations: 227.3 kB / 0.959 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.01068, allocations: 27.89 kB / 0.959 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.0107, allocations: 3.938 kB / 0.959 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.01075, allocations: 7.984 kB / 0.959 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.01079, allocations: 7.938 kB / 0.959 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.01079, allocations: 0 / 0.959 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001681/0.01096, allocations: 255 kB / 0.9593 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01096, allocations: 0 / 0.9593 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002753/0.01124, allocations: 63.88 kB / 0.9593 GB, free: 10.96 MB / 0.9167 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.0002681/0.0115, allocations: 163.1 kB / 0.9595 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.01171, allocations: 147.9 kB / 0.9596 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.01171, allocations: 4 kB / 0.9596 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.01177, allocations: 43.97 kB / 0.9597 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.01205, allocations: 10.72 kB / 0.9597 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.01253, allocations: 416 kB / 0.9601 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.356e-05/0.01261, allocations: 123.2 kB / 0.9602 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.01264, allocations: 16.5 kB / 0.9602 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.01264, allocations: 0 / 0.9602 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of Templates: time 0.00311/0.01575, allocations: 2.496 MB / 0.9626 GB, free: 7.516 MB / 0.9167 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: 6.679247730411589]