Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001857/0.001857, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.00233/0.00233, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 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.751/2.751, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.596e-05, allocations: 3.219 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.004779/0.004815, allocations: 1.486 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.007467, allocations: 0.7656 MB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.007521, allocations: 4.562 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.007953, allocations: 129.7 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.008978, allocations: 185.8 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.009354, allocations: 87.03 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.009534, allocations: 63.86 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.009622, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.00975, allocations: 43.89 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.009987, allocations: 91.81 kB / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.01001, allocations: 0 / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008261/0.01083, allocations: 239.6 kB / 0.7894 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.01107, allocations: 107.7 kB / 0.7895 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.0112, allocations: 43.8 kB / 0.7895 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008923/0.01209, allocations: 355.7 kB / 0.7899 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.0121, allocations: 0 / 0.7899 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/0.0121, allocations: 0.5938 kB / 0.7899 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.01211, allocations: 1.469 kB / 0.7899 GB, free: 9.227 MB / 0.7448 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.001397/0.0135, allocations: 0.4963 MB / 0.7904 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.01356, allocations: 12.03 kB / 0.7904 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.01367, allocations: 33.45 kB / 0.7904 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/0.01444, allocations: 328 kB / 0.7907 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.01446, allocations: 5.094 kB / 0.7907 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.01447, allocations: 384 / 0.7907 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.0148, allocations: 83.5 kB / 0.7908 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.01482, allocations: 192 / 0.7908 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.01483, allocations: 4.312 kB / 0.7908 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01484, allocations: 4.469 kB / 0.7908 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.0153, allocations: 105.3 kB / 0.7909 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009878/0.01628, allocations: 396.5 kB / 0.7913 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.01664, allocations: 104 kB / 0.7914 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.01687, allocations: 56.89 kB / 0.7914 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.121e-05/0.01695, allocations: 20.52 kB / 0.7915 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/0.01702, allocations: 43.84 kB / 0.7915 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.824e-06/0.01702, allocations: 0 / 0.7915 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0009025/0.01792, allocations: 208 kB / 0.7917 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.01799, allocations: 51.41 kB / 0.7917 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.01918, allocations: 0.5366 MB / 0.7923 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.01922, allocations: 25.7 kB / 0.7923 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.01945, allocations: 164 kB / 0.7925 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.01948, allocations: 7.953 kB / 0.7925 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.01959, allocations: 38.23 kB / 0.7925 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003059/0.0199, allocations: 343.5 kB / 0.7928 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.02023, allocations: 89.31 kB / 0.7929 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.02058, allocations: 111.2 kB / 0.793 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/0.02116, allocations: 173.4 kB / 0.7932 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02116, allocations: 1.062 kB / 0.7932 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008954/0.02206, allocations: 273.8 kB / 0.7934 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.02208, allocations: 8.969 kB / 0.7935 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.02209, allocations: 0 / 0.7935 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.02212, allocations: 4 kB / 0.7935 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.02239, allocations: 28.83 kB / 0.7935 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.0224, allocations: 0 / 0.7935 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.02257, allocations: 16.77 kB / 0.7935 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.02259, allocations: 4 kB / 0.7935 GB, free: 5.359 MB / 0.7448 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0002879/0.02287, allocations: 164 kB / 0.7937 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.02299, allocations: 35.75 kB / 0.7937 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006118/0.0236, allocations: 171.8 kB / 0.7939 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.02361, allocations: 2.719 kB / 0.7939 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.02362, allocations: 0 / 0.7939 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.02362, allocations: 0 / 0.7939 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.0241, allocations: 221.2 kB / 0.7941 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02411, allocations: 0 / 0.7941 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.02422, allocations: 11.98 kB / 0.7941 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.02422, allocations: 0 / 0.7941 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.02424, allocations: 5.5 kB / 0.7941 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.02424, allocations: 0 / 0.7941 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02424, allocations: 0 / 0.7941 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.02492, allocations: 257.4 kB / 0.7943 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.02507, allocations: 43.78 kB / 0.7944 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.02512, allocations: 3.938 kB / 0.7944 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.02532, allocations: 7.984 kB / 0.7944 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.02538, allocations: 8.719 kB / 0.7944 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.02539, allocations: 0 / 0.7944 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009029/0.02629, allocations: 399 kB / 0.7948 GB, free: 4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/0.02629, allocations: 0.5625 kB / 0.7948 GB, free: 4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007198/0.02701, allocations: 80.98 kB / 0.7949 GB, free: 3.922 MB / 0.7448 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.0005575/0.02757, allocations: 163.7 kB / 0.795 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006352/0.0282, allocations: 160.8 kB / 0.7952 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.0282, allocations: 0 / 0.7952 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.02843, allocations: 59.81 kB / 0.7952 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.02901, allocations: 17.5 kB / 0.7952 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.03056, allocations: 0.5467 MB / 0.7958 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.0309, allocations: 169.3 kB / 0.7959 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000115/0.03101, allocations: 31.72 kB / 0.796 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.0311, allocations: 20.5 kB / 0.796 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.0311, allocations: 1.062 kB / 0.796 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of Templates: time 0.01291/0.04401, allocations: 2.891 MB / 0.7988 GB, free: 15.86 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.67495990509633]