Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001745/0.001745, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002198/0.002198, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.49 GB / 0.7958 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_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.002071/0.002071, allocations: 65.03 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3679, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002947/0.3708, allocations: 1.497 MB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3723, allocations: 0.8258 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.3723, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3726, allocations: 135.7 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006034/0.3732, allocations: 198.5 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.3734, allocations: 75.73 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3735, allocations: 67.88 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.3736, allocations: 3.984 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.525e-05/0.3736, allocations: 47.83 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3738, allocations: 91.81 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3738, allocations: 4 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.3742, allocations: 255.6 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.3744, allocations: 107.7 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.3744, allocations: 83.28 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.3749, allocations: 326.7 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3749, allocations: 0 / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3749, allocations: 0 / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3749, allocations: 0 / 1.331 GB, free: 13.77 MB / 1.029 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.0007866/0.3757, allocations: 0.508 MB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3757, allocations: 8.031 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.3758, allocations: 28.75 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.3762, allocations: 328.8 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3762, allocations: 384 / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.3762, allocations: 384 / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3764, allocations: 85.97 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3764, allocations: 3.938 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3764, allocations: 8 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3764, allocations: 0 / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.3766, allocations: 99.88 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.3772, allocations: 435.8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3774, allocations: 102.5 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3775, allocations: 60.89 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.3776, allocations: 19.98 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3776, allocations: 42.48 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3776, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004832/0.3781, allocations: 209.5 kB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3781, allocations: 55.34 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.3787, allocations: 0.5405 MB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3788, allocations: 25.7 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3789, allocations: 160.1 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.3789, allocations: 3.953 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.379, allocations: 45.66 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3791, allocations: 342.8 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3793, allocations: 99.97 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3795, allocations: 99.86 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.3797, allocations: 176.6 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3797, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004172/0.3802, allocations: 272.5 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3802, allocations: 8 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3802, allocations: 0 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.212e-05/0.3802, allocations: 4 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3804, allocations: 27.92 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3804, allocations: 0 / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.3804, allocations: 15.92 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.3805, allocations: 4 kB / 1.334 GB, free: 9.82 MB / 1.029 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.0001603/0.3806, allocations: 166.3 kB / 1.335 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.3807, allocations: 31.81 kB / 1.335 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.381, allocations: 167.8 kB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.381, allocations: 0 / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.381, allocations: 0 / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.381, allocations: 3.984 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.3813, allocations: 248.6 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3813, allocations: 0 / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.3813, allocations: 11.98 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3813, allocations: 4.031 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3814, allocations: 0 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3814, allocations: 0 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.3814, allocations: 3.938 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3817, allocations: 263.2 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.3818, allocations: 39.8 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3818, allocations: 4.031 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.3819, allocations: 4 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3819, allocations: 11.92 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.3819, allocations: 0 / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004326/0.3824, allocations: 403 kB / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 0 / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003832/0.3827, allocations: 75.92 kB / 1.336 GB, free: 8.34 MB / 1.029 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.0002951/0.383, allocations: 151.1 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.3834, allocations: 159.9 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3834, allocations: 0 / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3835, allocations: 55.89 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3839, allocations: 25.44 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.3847, allocations: 0.5218 MB / 1.337 GB, free: 7.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.3851, allocations: 0.771 MB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.3852, allocations: 15.44 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3852, allocations: 4 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of Templates: time 0.006202/0.3914, allocations: 3.362 MB / 1.341 GB, free: 3.227 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.458546401001513]