Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001183/0.001183, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001415/0.001415, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9082/0.9082, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.775/1.775, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.064e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001835/0.001855, allocations: 0.6188 MB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.003783, allocations: 1.432 MB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.003814, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.75e-05/0.003872, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.003913, allocations: 7.984 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.005201, allocations: 223.3 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.489e-05/0.005286, allocations: 31.97 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.005327, allocations: 7.984 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.00537, allocations: 15.98 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.00542, allocations: 23.91 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.005433, allocations: 4 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.0058, allocations: 259.6 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.00584, allocations: 7.922 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.005869, allocations: 12 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.006136, allocations: 271.3 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.006138, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006139, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.006143, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 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.0003206/0.006464, allocations: 323.6 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.006502, allocations: 12.75 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.006529, allocations: 34.75 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.006559, allocations: 8.922 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.911e-05/0.006628, allocations: 113.8 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.006638, allocations: 384 / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.006647, allocations: 4.375 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.006779, allocations: 107.8 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.006785, allocations: 192 / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.006795, allocations: 4.125 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.006799, allocations: 0 / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.006855, allocations: 77.66 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.00696, allocations: 132.7 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.007033, allocations: 80.25 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.007083, allocations: 78.55 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.00709, allocations: 0 / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.00711, allocations: 34.56 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.007111, allocations: 3.938 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002588/0.00737, allocations: 254.6 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.007407, allocations: 89.03 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.007467, allocations: 109.8 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.007478, allocations: 25.7 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.007522, allocations: 92.14 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.007555, allocations: 15.84 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.007587, allocations: 21.75 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.007671, allocations: 326.8 kB / 1.004 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-05/0.007726, allocations: 65.67 kB / 1.004 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.714e-05/0.007773, allocations: 65.67 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.007885, allocations: 140.2 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.007887, allocations: 7.938 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001514/0.008039, allocations: 185.1 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.008073, allocations: 41.69 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.008079, allocations: 0 / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.008097, allocations: 3.938 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.008098, allocations: 0 / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.008105, allocations: 8.062 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.744e-05/0.008202, allocations: 11.92 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.008221, allocations: 4 kB / 1.005 GB, free: 7.789 MB / 0.9636 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 7.622e-05/0.008297, allocations: 151.5 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.008307, allocations: 7.953 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.165e-05/0.008319, allocations: 4.438 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008322, allocations: 3.938 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.008327, allocations: 0 / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.00833, allocations: 0 / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.787e-05/0.008407, allocations: 136.7 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008408, allocations: 4 kB / 1.005 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.00841, allocations: 3.938 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008412, allocations: 0 / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.008422, allocations: 7.984 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.008425, allocations: 3.938 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008426, allocations: 0 / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.008616, allocations: 229 kB / 1.005 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.008625, allocations: 4 kB / 1.005 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.008638, allocations: 0 / 1.005 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.00867, allocations: 11.94 kB / 1.005 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.00869, allocations: 11.92 kB / 1.005 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.008705, allocations: 12.03 kB / 1.005 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.008752, allocations: 99.25 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008752, allocations: 0 / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000274/0.009026, allocations: 67.88 kB / 1.006 GB, free: 6.957 MB / 0.9636 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.0005317/0.009558, allocations: 0.842 MB / 1.006 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.009768, allocations: 222.7 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.00977, allocations: 0 / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.009849, allocations: 145 kB / 1.007 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.009962, allocations: 8.094 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.01034, allocations: 260 kB / 1.007 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.321e-05/0.01039, allocations: 75.23 kB / 1.007 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.66e-06/0.0104, allocations: 0 / 1.007 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.01043, allocations: 12.5 kB / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.01043, allocations: 0 / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.0325, allocations: 3.802 MB / 1.011 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.24, allocations: 6.406 kB / 1.011 GB, free: 1.594 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable yMonotone from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! Error: Could not read variable y2Monotone in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable y2Monotone from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.444992933422327]