Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001146/0.001146, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001365/0.001365, allocations: 173.6 kB / 23.24 MB, free: 1.324 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.8834/0.8834, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.822/1.822, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/2.029e-05, allocations: 2.281 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00438/0.0044, allocations: 0.5877 MB / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.005861, allocations: 1.276 MB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.005882, allocations: 3.938 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.005895, allocations: 0 / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.005901, allocations: 4 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.006303, allocations: 71.62 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.00635, allocations: 7.984 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.00639, allocations: 4 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.006413, allocations: 7.938 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.182e-05/0.006455, allocations: 4 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.006465, allocations: 0 / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.00674, allocations: 107.8 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.00675, allocations: 3.984 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.006767, allocations: 8 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.006914, allocations: 67.86 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006917, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.001e-06/0.006918, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.006922, allocations: 0 / 1.003 GB, free: 11.3 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002596/0.007181, allocations: 250.3 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.007221, allocations: 13.34 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.007265, allocations: 38.69 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.007287, allocations: 0.9375 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.023e-05/0.007357, allocations: 105.8 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.007369, allocations: 384 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.007377, allocations: 384 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.1e-05/0.007468, allocations: 34.25 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.007477, allocations: 192 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.007486, allocations: 4.125 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.007491, allocations: 3.938 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.007511, allocations: 8 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.007635, allocations: 112.8 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/0.007682, allocations: 22.61 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.007699, allocations: 4.859 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.007976, allocations: 40.02 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.007996, allocations: 34.56 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.007997, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.008122, allocations: 41.58 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.008151, allocations: 51.41 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.199e-05/0.008183, allocations: 89.86 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.008193, allocations: 25.7 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.008215, allocations: 80.14 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.008245, allocations: 11.95 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.008277, allocations: 13.7 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.008368, allocations: 310.8 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.008378, allocations: 7.938 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.008383, allocations: 0 / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.00841, allocations: 16.98 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008412, allocations: 0 / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.254e-05/0.008464, allocations: 33.7 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.008478, allocations: 6.344 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.008482, allocations: 4 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.008495, allocations: 3.938 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.299e-05/0.008538, allocations: 7.984 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.008542, allocations: 0 / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.008553, allocations: 0 / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.008559, allocations: 4 kB / 1.004 GB, free: 9.754 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): 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 5.626e-05/0.008616, allocations: 116.4 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.008621, allocations: 0 / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.974e-05/0.008701, allocations: 44.62 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.008704, allocations: 3.938 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.008708, allocations: 0 / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.00871, allocations: 0 / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.972e-05/0.00878, allocations: 120.8 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008782, allocations: 0 / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/0.008796, allocations: 8.031 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.008798, allocations: 0 / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.008803, allocations: 0 / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.008807, allocations: 3.938 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008807, allocations: 0 / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.213e-05/0.00886, allocations: 57.16 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.008864, allocations: 0 / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.008875, allocations: 8 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-06/0.008882, allocations: 3.938 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.008898, allocations: 3.938 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.008901, allocations: 8.016 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.436e-05/0.008925, allocations: 79.28 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.008925, allocations: 0 / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002058/0.009131, allocations: 11.94 kB / 1.005 GB, free: 9.219 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): 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.0003095/0.009441, allocations: 0.6007 MB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.532e-05/0.009496, allocations: 4 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.009497, allocations: 0 / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.08e-06/0.009502, allocations: 7.938 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.009626, allocations: 16.06 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.009879, allocations: 110.7 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.205e-05/0.009911, allocations: 51.36 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.00993, allocations: 11.92 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.009944, allocations: 12.44 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of SimCode: time 0.003014/0.01296, allocations: 0 / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08661/0.09957, allocations: 1.765 MB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.019, allocations: 4.062 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.409520383924246]