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.001321/0.001321, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001513/0.001513, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.012 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.25/3.25, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.002092/0.002092, allocations: 70.31 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3803, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001857/0.3822, allocations: 0.6295 MB / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.3844, allocations: 1.502 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.3844, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.698e-05/0.3844, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.3845, allocations: 3.984 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.3853, allocations: 223.5 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.908e-05/0.3853, allocations: 35.91 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.3854, allocations: 8.281 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.3854, allocations: 19.92 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.3855, allocations: 23.91 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3855, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004943/0.386, allocations: 283.6 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.386, allocations: 12 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.3861, allocations: 11.88 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.3864, allocations: 223.4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3864, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3864, allocations: 3.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3864, allocations: 0 / 1.329 GB, free: 14.93 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.0004583/0.3869, allocations: 327.6 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3869, allocations: 8.031 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/0.387, allocations: 38.73 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.387, allocations: 0.9375 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3871, allocations: 122.5 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3871, allocations: 4.375 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3872, allocations: 384 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.3873, allocations: 77.72 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3874, allocations: 4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3874, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3874, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.53e-05/0.3874, allocations: 35.97 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.3876, allocations: 136.7 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.371e-05/0.3877, allocations: 50.56 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.3878, allocations: 44.86 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.3878, allocations: 7.922 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3878, allocations: 38.44 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3878, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003481/0.3881, allocations: 187.3 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.3882, allocations: 85.09 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3883, allocations: 117.9 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3883, allocations: 25.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.3884, allocations: 84.14 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3884, allocations: 19.84 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.3885, allocations: 21.72 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3886, allocations: 318.8 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.3887, allocations: 35.98 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.3887, allocations: 39.91 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3889, allocations: 153 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3889, allocations: 3.938 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002038/0.3891, allocations: 151.2 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.3891, allocations: 41.69 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3891, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3892, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3892, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3892, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.3893, allocations: 7.938 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.3893, allocations: 7.984 kB / 1.331 GB, free: 12.54 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.0001223/0.3895, allocations: 156.1 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.3895, allocations: 11.89 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.391e-05/0.3895, allocations: 4.375 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3895, allocations: 3.938 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3895, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3895, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.3896, allocations: 136.7 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3896, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-06/0.3896, allocations: 3.938 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3896, allocations: 4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3896, allocations: 4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3896, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3896, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.3899, allocations: 194.7 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.3899, allocations: 11.89 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3899, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.39, allocations: 11.98 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.39, allocations: 8.031 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.39, allocations: 8 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.3901, allocations: 95.2 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3901, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000311/0.3904, allocations: 71.86 kB / 1.332 GB, free: 11.74 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.0007636/0.3911, allocations: 0.7974 MB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.3914, allocations: 163.3 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3914, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3915, allocations: 115.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.3917, allocations: 13.19 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.3921, allocations: 221 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3924, allocations: 0.6846 MB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.991e-06/0.3925, allocations: 4.125 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.3925, allocations: 11.44 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3925, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.4231, allocations: 3.237 MB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.18, allocations: 12.67 kB / 1.337 GB, free: 6.508 MB / 1.029 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/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] "Error: Could not read variable yMonotone in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable yMonotone from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! Error: Could not read variable y2Monotone in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable y2Monotone from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.30513894500109]