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.001643/0.001643, allocations: 111 kB / 16.46 MB, free: 6.453 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.002199/0.002199, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] 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 3.497/3.497, allocations: 0.505 GB / 0.8066 GB, free: 23.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002031/0.002031, allocations: 74.09 kB / 1.172 GB, free: 17.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3644, allocations: 180.2 MB / 1.348 GB, free: 9.883 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001886/0.3663, allocations: 0.6107 MB / 1.348 GB, free: 9.273 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.3685, allocations: 1.498 MB / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.3685, allocations: 3.938 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.087e-05/0.3686, allocations: 4 kB / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.3686, allocations: 3.984 kB / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.3694, allocations: 209.5 kB / 1.35 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.3694, allocations: 35.97 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.178e-05/0.3695, allocations: 288 / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.3695, allocations: 23.91 kB / 1.35 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.3696, allocations: 27.84 kB / 1.35 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3696, allocations: 4 kB / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.37, allocations: 251.6 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.37, allocations: 4 kB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.3701, allocations: 15.88 kB / 1.35 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.3704, allocations: 219.4 kB / 1.351 GB, free: 6.973 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3704, allocations: 4 kB / 1.351 GB, free: 6.969 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3704, allocations: 4 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.3704, allocations: 0 / 1.351 GB, free: 6.965 MB / 1.045 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.0004415/0.3708, allocations: 410.5 kB / 1.351 GB, free: 6.512 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3709, allocations: 11.98 kB / 1.351 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.3709, allocations: 42.73 kB / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.3709, allocations: 4.891 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3711, allocations: 168.4 kB / 1.351 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.3711, allocations: 384 / 1.351 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3711, allocations: 4.375 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3712, allocations: 81.72 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3713, allocations: 0 / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3713, allocations: 4 kB / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3713, allocations: 0 / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.428e-05/0.3713, allocations: 35.97 kB / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.3715, allocations: 169.5 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.3716, allocations: 46.56 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.3716, allocations: 44.86 kB / 1.352 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.3717, allocations: 4 kB / 1.352 GB, free: 5.793 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3717, allocations: 38.5 kB / 1.352 GB, free: 5.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3717, allocations: 3.938 kB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.000323/0.372, allocations: 183.3 kB / 1.352 GB, free: 5.551 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.3721, allocations: 85.09 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.3722, allocations: 109.8 kB / 1.352 GB, free: 5.332 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3722, allocations: 29.7 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.3722, allocations: 92.11 kB / 1.352 GB, free: 5.203 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.3723, allocations: 23.95 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.3723, allocations: 21.72 kB / 1.352 GB, free: 5.152 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3725, allocations: 314.8 kB / 1.352 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.3725, allocations: 39.97 kB / 1.353 GB, free: 4.797 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.393e-05/0.3726, allocations: 36.52 kB / 1.353 GB, free: 4.762 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3727, allocations: 148.2 kB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3727, allocations: 0 / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002082/0.373, allocations: 147.3 kB / 1.353 GB, free: 4.445 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.373, allocations: 47.94 kB / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.373, allocations: 0 / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.373, allocations: 3.938 kB / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.373, allocations: 4 kB / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.373, allocations: 0 / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3731, allocations: 15.88 kB / 1.353 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.3732, allocations: 4 kB / 1.353 GB, free: 4.367 MB / 1.045 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.0001168/0.3733, allocations: 151.5 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.3733, allocations: 7.938 kB / 1.353 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.3733, allocations: 8.375 kB / 1.353 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3733, allocations: 0 / 1.353 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3733, allocations: 0 / 1.353 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3733, allocations: 0 / 1.353 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.3734, allocations: 173.6 kB / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3734, allocations: 0 / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-06/0.3734, allocations: 7.875 kB / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3734, allocations: 0 / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3735, allocations: 4 kB / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3735, allocations: 0 / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3735, allocations: 0 / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.3737, allocations: 194.8 kB / 1.353 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.3738, allocations: 85 kB / 1.354 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3738, allocations: 7.984 kB / 1.354 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.357e-05/0.3738, allocations: 4 kB / 1.354 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.3739, allocations: 8 kB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3739, allocations: 7.984 kB / 1.354 GB, free: 3.613 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.271e-05/0.3739, allocations: 87.28 kB / 1.354 GB, free: 3.527 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3739, allocations: 4.031 kB / 1.354 GB, free: 3.523 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003171/0.3742, allocations: 75.86 kB / 1.354 GB, free: 3.449 MB / 1.045 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.0008288/0.3751, allocations: 0.7974 MB / 1.354 GB, free: 2.617 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.3753, allocations: 159.3 kB / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3753, allocations: 8.031 kB / 1.355 GB, free: 2.441 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3755, allocations: 119.3 kB / 1.355 GB, free: 2.312 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.3756, allocations: 7.938 kB / 1.355 GB, free: 2.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.3761, allocations: 234.2 kB / 1.355 GB, free: 2.035 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3764, allocations: 0.6807 MB / 1.356 GB, free: 1.328 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.46e-06/0.3764, allocations: 0 / 1.356 GB, free: 1.328 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.3765, allocations: 15.44 kB / 1.356 GB, free: 1.312 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3765, allocations: 0 / 1.356 GB, free: 1.312 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.4038, allocations: 3.129 MB / 1.359 GB, free: 14.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.513, allocations: 3.938 kB / 1.359 GB, free: 14.32 MB / 1.061 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.868502656929195]