Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001326/0.001326, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001531/0.001531, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.647/1.647, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.882/2.882, allocations: 476.7 MB / 0.7672 GB, free: 5.238 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.SpliceFunction,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_11_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.00206/0.00206, allocations: 71.89 kB / 1.112 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9287/0.9308, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001755/0.9325, allocations: 0.5819 MB / 1.279 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.9343, allocations: 1.344 MB / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.9343, allocations: 0 / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.9344, allocations: 0 / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.9344, allocations: 0 / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.9347, allocations: 79.67 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.055e-05/0.9348, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.9348, allocations: 4 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.243e-05/0.9348, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.9349, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.9349, allocations: 4 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.9352, allocations: 115.9 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.9352, allocations: 0 / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.9352, allocations: 7.922 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.9354, allocations: 61.7 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9354, allocations: 0 / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9354, allocations: 0 / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.9354, allocations: 0 / 1.28 GB, free: 11.21 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003773/0.9358, allocations: 331.3 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.9358, allocations: 12.03 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.9358, allocations: 34.75 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.9359, allocations: 0.9375 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.936, allocations: 166.1 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.936, allocations: 4.375 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.936, allocations: 8.297 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.016e-05/0.9361, allocations: 37.83 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.9361, allocations: 0 / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.9361, allocations: 0 / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.9361, allocations: 0 / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.9361, allocations: 4 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.9363, allocations: 149.7 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.255e-05/0.9363, allocations: 18.58 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.9363, allocations: 8.797 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/0.9369, allocations: 0.5623 MB / 1.282 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.937, allocations: 38.5 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.937, allocations: 0 / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.9371, allocations: 33.7 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.9372, allocations: 51.41 kB / 1.282 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.323e-05/0.9372, allocations: 89.86 kB / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.9372, allocations: 29.7 kB / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.9373, allocations: 80.14 kB / 1.282 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.9373, allocations: 3.953 kB / 1.282 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.9373, allocations: 13.84 kB / 1.282 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.9374, allocations: 318.8 kB / 1.282 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.9375, allocations: 7.938 kB / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.9375, allocations: 0 / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/0.9375, allocations: 8.859 kB / 1.282 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9375, allocations: 0 / 1.282 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.525e-05/0.9375, allocations: 29.7 kB / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9376, allocations: 12.03 kB / 1.282 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9376, allocations: 4 kB / 1.282 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.9376, allocations: 3.938 kB / 1.282 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.146e-05/0.9376, allocations: 3.984 kB / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.9376, allocations: 0 / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.9376, allocations: 0 / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.9376, allocations: 7.938 kB / 1.282 GB, free: 8.805 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): 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 7.627e-05/0.9377, allocations: 113.8 kB / 1.283 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.9377, allocations: 3.938 kB / 1.283 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.135e-05/0.9378, allocations: 40.81 kB / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.9378, allocations: 4 kB / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.9378, allocations: 0 / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.9378, allocations: 0 / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.9379, allocations: 141.7 kB / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.9379, allocations: 0 / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.9379, allocations: 4 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.938, allocations: 3.938 kB / 1.283 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.938, allocations: 4.031 kB / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.938, allocations: 0 / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.938, allocations: 3.984 kB / 1.283 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.417e-05/0.938, allocations: 61.08 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.9381, allocations: 81.05 kB / 1.283 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.9381, allocations: 0 / 1.283 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.9381, allocations: 4 kB / 1.283 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.9381, allocations: 0 / 1.283 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.9381, allocations: 8.016 kB / 1.283 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.9381, allocations: 79.28 kB / 1.283 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9381, allocations: 0 / 1.283 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002037/0.9384, allocations: 11.94 kB / 1.283 GB, free: 8.145 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): 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.0004509/0.9388, allocations: 0.6168 MB / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.9389, allocations: 4 kB / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9389, allocations: 0 / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.802e-06/0.9389, allocations: 0 / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.939, allocations: 7.984 kB / 1.284 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.9393, allocations: 114.4 kB / 1.284 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.9396, allocations: 0.669 MB / 1.284 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.9396, allocations: 4.125 kB / 1.284 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.9397, allocations: 15.42 kB / 1.284 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.9397, allocations: 0 / 1.284 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.9641, allocations: 1.15 MB / 1.285 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.993, allocations: 9.875 kB / 1.286 GB, free: 5.559 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.459828110877424]