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.001323/0.001323, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001558/0.001558, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.805 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.275/3.275, allocations: 0.4892 GB / 0.7943 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 176] 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.002059/0.002059, allocations: 67.3 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3852, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003237/0.3884, allocations: 1.482 MB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3901, allocations: 0.7596 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.3902, allocations: 8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.3904, allocations: 123.8 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007088/0.3912, allocations: 187.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3914, allocations: 83.73 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.3915, allocations: 71.73 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.3916, allocations: 7.984 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.3917, allocations: 39.89 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3918, allocations: 91.81 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3918, allocations: 4 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.3923, allocations: 227.7 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.3925, allocations: 115.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.3926, allocations: 67.41 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.3932, allocations: 326.7 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3932, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3932, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3932, allocations: 0 / 1.329 GB, free: 14.24 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.0008682/0.3941, allocations: 0.5041 MB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3941, allocations: 8.031 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.3942, allocations: 28.75 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.3946, allocations: 324.7 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3946, allocations: 4.375 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3946, allocations: 8.359 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3948, allocations: 89.97 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3949, allocations: 3.938 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3949, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3949, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.3951, allocations: 99.92 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.3957, allocations: 400.4 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3959, allocations: 118.5 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.396, allocations: 52.89 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.396, allocations: 19.98 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3961, allocations: 34.5 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3961, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004739/0.3965, allocations: 209.5 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.3966, allocations: 59.44 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.3972, allocations: 0.5327 MB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3972, allocations: 25.7 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3974, allocations: 156.1 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.3974, allocations: 11.95 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.3974, allocations: 41.66 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.3976, allocations: 342.8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.3978, allocations: 91.94 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.398, allocations: 107.8 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.3983, allocations: 175 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3983, allocations: 0 / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004831/0.3988, allocations: 269.3 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3988, allocations: 7.938 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3988, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3988, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.399, allocations: 35.92 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.399, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.399, allocations: 11.92 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3991, allocations: 4 kB / 1.333 GB, free: 10.34 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.000155/0.3992, allocations: 166.3 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.3993, allocations: 27.81 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.3996, allocations: 175.8 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3996, allocations: 0 / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3996, allocations: 12.02 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3996, allocations: 0 / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.3999, allocations: 209.2 kB / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3999, allocations: 3.938 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.3999, allocations: 11.98 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3999, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.3999, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3999, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3999, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.4003, allocations: 267.2 kB / 1.333 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4004, allocations: 39.73 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.4004, allocations: 0 / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.4005, allocations: 7.984 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.4005, allocations: 7.938 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4005, allocations: 0 / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004957/0.401, allocations: 403 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.401, allocations: 0 / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003829/0.4014, allocations: 79.92 kB / 1.334 GB, free: 8.898 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.0002798/0.4017, allocations: 147.1 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.4021, allocations: 162.3 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4021, allocations: 0 / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.4022, allocations: 51.91 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.4026, allocations: 25.44 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.4035, allocations: 0.5278 MB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.4037, allocations: 176.2 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.499e-05/0.4037, allocations: 34.62 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.4038, allocations: 19.44 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4038, allocations: 0 / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of Templates: time 0.007368/0.4111, allocations: 3.066 MB / 1.338 GB, free: 4.664 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/jenkins/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: 9.068028138950467]