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.001316/0.001316, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001444/0.001444, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.398/1.398, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.707/2.707, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.91 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3153, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002808/0.3181, allocations: 1.498 MB / 1.119 GB, free: 1.051 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3195, allocations: 0.7558 MB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.3195, allocations: 4 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.3198, allocations: 127.7 kB / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000625/0.3204, allocations: 183.6 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.3206, allocations: 79.73 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.3207, allocations: 67.8 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.3208, allocations: 8 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.129e-05/0.3208, allocations: 43.88 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.321, allocations: 83.83 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.321, allocations: 0 / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.3215, allocations: 247.6 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3216, allocations: 107.7 kB / 1.121 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.3217, allocations: 67.41 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.3221, allocations: 322.8 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3221, allocations: 0 / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3221, allocations: 0 / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3221, allocations: 0 / 1.121 GB, free: 14.97 MB / 1.076 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.0007855/0.3229, allocations: 0.508 MB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.323, allocations: 8.031 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.323, allocations: 28.75 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.3234, allocations: 332.7 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.3234, allocations: 4.375 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3235, allocations: 4.312 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3237, allocations: 93.91 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3237, allocations: 0 / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.3237, allocations: 0 / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3237, allocations: 0 / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.3239, allocations: 103.9 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.3245, allocations: 396.5 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3247, allocations: 110.4 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.3248, allocations: 60.88 kB / 1.123 GB, free: 13.24 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.3248, allocations: 27.97 kB / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3248, allocations: 30.56 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3248, allocations: 0 / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0004807/0.3253, allocations: 209.5 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3254, allocations: 55.41 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.326, allocations: 0.5366 MB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.326, allocations: 29.7 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3261, allocations: 152.1 kB / 1.124 GB, free: 12.17 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3262, allocations: 15.88 kB / 1.124 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.3262, allocations: 41.67 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3264, allocations: 342.8 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.3266, allocations: 95.94 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3267, allocations: 95.97 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.327, allocations: 175.1 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.327, allocations: 0 / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004426/0.3275, allocations: 273.3 kB / 1.125 GB, free: 11.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3275, allocations: 11.06 kB / 1.125 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3275, allocations: 0 / 1.125 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3275, allocations: 3.938 kB / 1.125 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.3277, allocations: 35.97 kB / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3277, allocations: 0 / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.3278, allocations: 12 kB / 1.125 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3278, allocations: 4 kB / 1.125 GB, free: 11.07 MB / 1.076 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.0001592/0.3279, allocations: 169.7 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.328, allocations: 27.81 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.3283, allocations: 167.8 kB / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3283, allocations: 4.031 kB / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3283, allocations: 0 / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3283, allocations: 3.938 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.3286, allocations: 221.2 kB / 1.125 GB, free: 10.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3286, allocations: 3.938 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.3287, allocations: 7.984 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3287, allocations: 4 kB / 1.125 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.3287, allocations: 0 / 1.125 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3287, allocations: 0 / 1.125 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3287, allocations: 0 / 1.125 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.329, allocations: 259.2 kB / 1.125 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/0.3291, allocations: 43.73 kB / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3291, allocations: 0 / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.3292, allocations: 7.984 kB / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.3293, allocations: 8 kB / 1.125 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3293, allocations: 0 / 1.125 GB, free: 10.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004502/0.3297, allocations: 399 kB / 1.126 GB, free: 9.707 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3297, allocations: 0 / 1.126 GB, free: 9.707 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003689/0.3301, allocations: 79.88 kB / 1.126 GB, free: 9.629 MB / 1.076 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.0002639/0.3303, allocations: 151.2 kB / 1.126 GB, free: 9.473 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.3307, allocations: 155.8 kB / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3307, allocations: 0 / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3308, allocations: 55.95 kB / 1.126 GB, free: 9.266 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.3311, allocations: 29.38 kB / 1.126 GB, free: 9.238 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008223/0.332, allocations: 0.5238 MB / 1.127 GB, free: 8.688 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3322, allocations: 173.8 kB / 1.127 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.448e-05/0.3322, allocations: 34.62 kB / 1.127 GB, free: 8.465 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.522e-05/0.3323, allocations: 20.5 kB / 1.127 GB, free: 8.445 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.3323, allocations: 0 / 1.127 GB, free: 8.445 MB / 1.076 GB Notification: Performance of Templates: time 0.006921/0.3392, allocations: 2.863 MB / 1.13 GB, free: 5.613 MB / 1.076 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 -s ida -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/jenkins1/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: 8.289844321087003]