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.001858/0.001858, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002313/0.002313, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.773 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.394/3.394, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [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.002152/0.002152, allocations: 69.02 kB / 1.153 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3684, allocations: 176.1 MB / 1.325 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001785/0.3702, allocations: 0.6215 MB / 1.326 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3722, allocations: 1.436 MB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.3722, allocations: 4 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.027e-05/0.3723, allocations: 7.938 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.158e-05/0.3723, allocations: 0 / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.373, allocations: 209.7 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.3731, allocations: 39.95 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.3732, allocations: 8.266 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.3732, allocations: 19.94 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.3733, allocations: 23.97 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.3733, allocations: 0 / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.3737, allocations: 263.5 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.3738, allocations: 11.92 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.3738, allocations: 15.92 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.3742, allocations: 219.4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3742, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3742, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.3742, allocations: 4 kB / 1.328 GB, free: 15.35 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.0003963/0.3746, allocations: 327.6 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3746, allocations: 12.03 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.3746, allocations: 42.69 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.3747, allocations: 0.9375 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3748, allocations: 114.5 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3748, allocations: 4.375 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3748, allocations: 384 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.375, allocations: 111.5 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.375, allocations: 0 / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.375, allocations: 4 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.375, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3751, allocations: 69.61 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.3753, allocations: 136.7 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3754, allocations: 84.25 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.3755, allocations: 70.56 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.3755, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3755, allocations: 34.5 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/0.3755, allocations: 3.984 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000391/0.3759, allocations: 262.7 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.376, allocations: 81.11 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3761, allocations: 113.8 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.3761, allocations: 29.7 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.3761, allocations: 88.17 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3762, allocations: 19.86 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.3762, allocations: 21.7 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3764, allocations: 318.8 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/0.3765, allocations: 65.67 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.3765, allocations: 73.66 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3767, allocations: 140.2 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3767, allocations: 0 / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002334/0.3769, allocations: 196.9 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.377, allocations: 37.69 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.377, allocations: 4.062 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.377, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.377, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.377, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.3772, allocations: 11.94 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.3772, allocations: 7.984 kB / 1.33 GB, free: 12.62 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.0001204/0.3773, allocations: 148.1 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.3773, allocations: 11.89 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.523e-05/0.3773, allocations: 8.375 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3773, allocations: 4 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3773, allocations: 3.938 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3773, allocations: 4 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.3775, allocations: 132.7 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3775, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-06/0.3775, allocations: 3.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3775, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.3775, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3775, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3775, allocations: 4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.3778, allocations: 241 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.3778, allocations: 7.891 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3778, allocations: 8.031 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.441e-05/0.3778, allocations: 4 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.3779, allocations: 11.98 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3779, allocations: 4 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.3779, allocations: 95.25 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3779, allocations: 0 / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003031/0.3782, allocations: 71.88 kB / 1.331 GB, free: 11.78 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.0008069/0.379, allocations: 0.8224 MB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.3793, allocations: 226.7 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3793, allocations: 4.094 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.3795, allocations: 149 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3796, allocations: 4 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.3802, allocations: 256 kB / 1.332 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.266e-05/0.3802, allocations: 71.33 kB / 1.332 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.099e-06/0.3803, allocations: 0 / 1.332 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.3803, allocations: 11.44 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3803, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.4109, allocations: 3.674 MB / 1.336 GB, free: 6.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.5, allocations: 8.391 kB / 1.336 GB, free: 6.566 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] 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: 18.666397165041417]