Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001778/0.001778, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002215/0.002215, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.533/1.533, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] 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.859/2.859, allocations: 476.7 MB / 0.7672 GB, free: 5.207 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_11_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.002401/0.002401, allocations: 71.89 kB / 1.112 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9425/0.9449, allocations: 169.9 MB / 1.278 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002342/0.9472, allocations: 0.609 MB / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.9498, allocations: 1.5 MB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.9498, allocations: 4 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.061e-05/0.9499, allocations: 3.938 kB / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.9499, allocations: 0 / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009102/0.9508, allocations: 207.5 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.9509, allocations: 43.95 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.951, allocations: 0 / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.951, allocations: 15.92 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.9511, allocations: 23.92 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.9511, allocations: 0 / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.9516, allocations: 263.6 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.9517, allocations: 7.984 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.9517, allocations: 19.81 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.9521, allocations: 217.3 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9521, allocations: 0 / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9521, allocations: 7.938 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.649e-06/0.9521, allocations: 0 / 1.281 GB, free: 10.45 MB / 0.9825 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.0005582/0.9527, allocations: 408.7 kB / 1.282 GB, free: 10 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.9527, allocations: 8.031 kB / 1.282 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.9528, allocations: 34.75 kB / 1.282 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.9528, allocations: 4.938 kB / 1.282 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.953, allocations: 172.3 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.953, allocations: 8.359 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.953, allocations: 384 / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.9532, allocations: 87.48 kB / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9532, allocations: 0 / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.9532, allocations: 4 kB / 1.282 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.9532, allocations: 0 / 1.282 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.202e-05/0.9533, allocations: 35.91 kB / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.9535, allocations: 161.7 kB / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.9536, allocations: 50.55 kB / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.9536, allocations: 40.86 kB / 1.282 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.964e-06/0.9536, allocations: 4 kB / 1.282 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.9537, allocations: 38.5 kB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.9537, allocations: 0 / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003646/0.954, allocations: 191.4 kB / 1.282 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.9541, allocations: 77.11 kB / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.9542, allocations: 121.8 kB / 1.283 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.9542, allocations: 25.7 kB / 1.283 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.9543, allocations: 84.14 kB / 1.283 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.9543, allocations: 27.83 kB / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/0.9544, allocations: 21.7 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9545, allocations: 318.8 kB / 1.283 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.9546, allocations: 35.97 kB / 1.283 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.9547, allocations: 35.97 kB / 1.283 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.9548, allocations: 140.2 kB / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9548, allocations: 4 kB / 1.283 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002205/0.955, allocations: 151.2 kB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.9551, allocations: 45.69 kB / 1.283 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9551, allocations: 0 / 1.283 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9551, allocations: 4 kB / 1.283 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.9551, allocations: 0 / 1.283 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.9551, allocations: 0 / 1.283 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.9552, allocations: 4 kB / 1.283 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.9553, allocations: 12.56 kB / 1.283 GB, free: 7.871 MB / 0.9825 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.0001241/0.9554, allocations: 151.5 kB / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.9554, allocations: 11.89 kB / 1.284 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.9554, allocations: 8.375 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.9554, allocations: 0 / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9554, allocations: 4 kB / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.9554, allocations: 0 / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.9556, allocations: 169.6 kB / 1.284 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9556, allocations: 0 / 1.284 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-06/0.9556, allocations: 3.938 kB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9556, allocations: 0 / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.9556, allocations: 4 kB / 1.284 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9556, allocations: 0 / 1.284 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.9556, allocations: 0 / 1.284 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.9559, allocations: 210.6 kB / 1.284 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.9559, allocations: 88.98 kB / 1.284 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.956, allocations: 0 / 1.284 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.315e-05/0.956, allocations: 11.98 kB / 1.284 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.956, allocations: 4 kB / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.956, allocations: 4 kB / 1.284 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.177e-05/0.9561, allocations: 91.27 kB / 1.284 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9561, allocations: 32 / 1.284 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000367/0.9565, allocations: 83.86 kB / 1.284 GB, free: 6.93 MB / 0.9825 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.0008483/0.9573, allocations: 0.7862 MB / 1.285 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.9576, allocations: 159.3 kB / 1.285 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9576, allocations: 3.938 kB / 1.285 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.9577, allocations: 123.4 kB / 1.285 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.9579, allocations: 4 kB / 1.285 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.9584, allocations: 226.2 kB / 1.285 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.9588, allocations: 0.6885 MB / 1.286 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.612e-06/0.9588, allocations: 0 / 1.286 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.9588, allocations: 11.44 kB / 1.286 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9588, allocations: 3.938 kB / 1.286 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.9881, allocations: 3.119 MB / 1.289 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/9.029, allocations: 6.531 kB / 1.289 GB, free: 1.805 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable yMonotone in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable yMonotone from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! Error: Could not read variable y2Monotone in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable y2Monotone from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.481563831912354]