Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.00174/0.00174, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.002225/0.002225, allocations: 219.4 kB / 22.24 MB, free: 5.105 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.789 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.306/3.306, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.SpliceFunction,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.00209/0.00209, allocations: 69.19 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3858, allocations: 181.9 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001978/0.3878, allocations: 0.5874 MB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3899, allocations: 1.276 MB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.3899, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.3899, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.3899, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.3903, allocations: 71.75 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.097e-05/0.3904, allocations: 4 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.3904, allocations: 7.922 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.432e-05/0.3905, allocations: 3.984 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.3905, allocations: 7.938 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.3905, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.3908, allocations: 107.8 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.3908, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.3908, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.391, allocations: 68.14 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.391, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.391, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.391, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003089/0.3913, allocations: 254.2 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3913, allocations: 12.03 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.3914, allocations: 34.75 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.778e-05/0.3914, allocations: 0.9375 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.866e-05/0.3914, allocations: 106.5 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3915, allocations: 384 / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3915, allocations: 4.375 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.65e-05/0.3916, allocations: 37.77 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3916, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.3916, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3916, allocations: 7.922 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.3916, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.3917, allocations: 116.8 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/0.3918, allocations: 22.61 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.3918, allocations: 4.859 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.3921, allocations: 36.03 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.3922, allocations: 46.42 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3922, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.3923, allocations: 29.83 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3923, allocations: 55.41 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.987e-05/0.3924, allocations: 89.86 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3924, allocations: 29.7 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.3925, allocations: 80.14 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.3925, allocations: 5.062 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.3925, allocations: 13.72 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3927, allocations: 314.8 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.3927, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.3927, allocations: 3.984 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.3927, allocations: 16.86 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3927, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.448e-05/0.3928, allocations: 33.7 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3928, allocations: 11.94 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3928, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3928, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-05/0.3929, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3929, allocations: 7.938 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.3929, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.3929, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 9.27e-05/0.393, allocations: 113.9 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.393, allocations: 3.938 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.3931, allocations: 48.62 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3931, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3931, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3931, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.3932, allocations: 120.8 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3932, allocations: 0 / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.3932, allocations: 3.938 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3932, allocations: 7.969 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3932, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3932, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3932, allocations: 4 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.155e-05/0.3933, allocations: 61.06 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.3933, allocations: 11.92 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.3933, allocations: 0 / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.3933, allocations: 4 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.3934, allocations: 0 / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.3934, allocations: 0 / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.3934, allocations: 75.28 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3934, allocations: 8.031 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001956/0.3936, allocations: 7.938 kB / 1.367 GB, free: 9.777 MB / 1.061 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0004592/0.3941, allocations: 0.6124 MB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.625e-05/0.3941, allocations: 7.938 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3941, allocations: 0 / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-06/0.3941, allocations: 4 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.3943, allocations: 4 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.3945, allocations: 110.7 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.3946, allocations: 55.36 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.595e-05/0.3946, allocations: 0 / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.3946, allocations: 7.438 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3946, allocations: 0 / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.4236, allocations: 1.627 MB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 6.25 kB / 1.37 GB, free: 7.383 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.792931620031595]