Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001647/0.001647, allocations: 110.2 kB / 19.69 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.001799/0.001799, allocations: 213.9 kB / 23.01 MB, free: 4.566 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8 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.246/3.246, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [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.001989/0.001989, allocations: 69.23 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2984, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00175/0.3001, allocations: 0.6316 MB / 1.328 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.3022, allocations: 1.498 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.3022, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.3023, allocations: 3.938 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.367e-05/0.3023, allocations: 7.984 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.303, allocations: 222.5 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.655e-05/0.3031, allocations: 31.97 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.3031, allocations: 8 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.3032, allocations: 19.92 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.3032, allocations: 19.92 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3032, allocations: 4 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.3037, allocations: 291.5 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.3038, allocations: 11.98 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3038, allocations: 11.88 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.3041, allocations: 219.4 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3041, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3041, allocations: 3.938 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.3041, allocations: 0 / 1.33 GB, free: 14.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004143/0.3045, allocations: 323.6 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.3046, allocations: 19.97 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.3046, allocations: 4.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3047, allocations: 110.5 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.3047, allocations: 4.375 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3047, allocations: 384 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3049, allocations: 85.94 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3049, allocations: 3.984 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3049, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3049, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/0.305, allocations: 35.97 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.3051, allocations: 144.6 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.41e-05/0.3052, allocations: 54.55 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.3053, allocations: 36.86 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.3053, allocations: 0 / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3053, allocations: 38.5 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.3053, allocations: 3.938 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000326/0.3057, allocations: 191.2 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3057, allocations: 85.14 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3058, allocations: 113.8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3058, allocations: 25.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.3059, allocations: 88.14 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3059, allocations: 15.86 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.306, allocations: 21.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3061, allocations: 318.8 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.3062, allocations: 39.97 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.3062, allocations: 35.97 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3064, allocations: 144.2 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3064, allocations: 0 / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000195/0.3066, allocations: 159.3 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.3066, allocations: 41.62 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3066, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3066, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3066, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.3066, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3067, allocations: 16 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.3068, allocations: 11.98 kB / 1.332 GB, free: 12.09 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001069/0.3069, allocations: 144.7 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.3069, allocations: 11.89 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.3069, allocations: 8.375 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3069, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3069, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.3069, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.307, allocations: 140.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.307, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-06/0.307, allocations: 8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.307, allocations: 3.938 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.307, allocations: 4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3071, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3071, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3073, allocations: 203.3 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.3073, allocations: 7.891 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3073, allocations: 4 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.3074, allocations: 12.02 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.3074, allocations: 4 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3074, allocations: 4 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.3075, allocations: 95.25 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3075, allocations: 0 / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002904/0.3078, allocations: 83.8 kB / 1.333 GB, free: 11.29 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003087/0.3081, allocations: 151.1 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.3083, allocations: 171.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3083, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3084, allocations: 123.3 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3086, allocations: 6.188 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.3089, allocations: 190.5 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3092, allocations: 0.6885 MB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.3092, allocations: 7.438 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3092, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of Templates: time 0.003584/0.3128, allocations: 1.717 MB / 1.336 GB, free: 8.16 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.36928533698665]