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.0007733/0.0007733, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.0007775/0.0007775, allocations: 214.8 kB / 23.03 MB, free: 2.957 MB / 13.93 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.9453/0.9453, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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 2.045/2.045, allocations: 0.5046 GB / 0.8104 GB, free: 2.777 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001313/0.001313, allocations: 63.91 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7687, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001338/0.7701, allocations: 0.5973 MB / 1.353 GB, free: 1.043 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.7712, allocations: 1.279 MB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.7713, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.7713, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-06/0.7713, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.7716, allocations: 75.73 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 4.333e-05/0.7717, allocations: 4 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.7717, allocations: 3.984 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.7717, allocations: 4 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.7718, allocations: 0 / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 7.825e-06/0.7718, allocations: 0 / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.772, allocations: 103.8 kB / 1.354 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.7721, allocations: 4 kB / 1.354 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.7721, allocations: 0 / 1.354 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.7722, allocations: 70.05 kB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7722, allocations: 0 / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7722, allocations: 0 / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.7722, allocations: 7.938 kB / 1.355 GB, free: 15.48 MB / 1.042 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.0002472/0.7725, allocations: 250.3 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7725, allocations: 8.922 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.7725, allocations: 30.75 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.7726, allocations: 0.9375 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.67e-05/0.7726, allocations: 110.5 kB / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.7726, allocations: 384 / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-06/0.7726, allocations: 384 / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.7727, allocations: 33.83 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.7727, allocations: 0 / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.7727, allocations: 7.984 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.7727, allocations: 3.984 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.7727, allocations: 3.938 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.7729, allocations: 124.8 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.87e-05/0.7729, allocations: 14.58 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.7729, allocations: 8.953 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.7732, allocations: 43.95 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.7732, allocations: 42.48 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.7732, allocations: 0 / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.7733, allocations: 37.64 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.7733, allocations: 51.41 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.739e-05/0.7734, allocations: 89.86 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.7734, allocations: 29.7 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 1.791e-05/0.7734, allocations: 80.14 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.7734, allocations: 3.938 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.7734, allocations: 13.72 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.7735, allocations: 310.8 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.7735, allocations: 128 / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-06/0.7735, allocations: 11.98 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.031e-05/0.7735, allocations: 4.859 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7735, allocations: 4 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.398e-05/0.7736, allocations: 37.64 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7736, allocations: 10.28 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7736, allocations: 0 / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7736, allocations: 0 / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.7737, allocations: 4 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.7737, allocations: 0 / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-06/0.7737, allocations: 4.094 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.7737, allocations: 0 / 1.356 GB, free: 13.95 MB / 1.042 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.066e-05/0.7737, allocations: 114.4 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-06/0.7737, allocations: 3.938 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.7738, allocations: 40.64 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.7738, allocations: 3.938 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7738, allocations: 0 / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7738, allocations: 4 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.736e-05/0.7739, allocations: 120.8 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7739, allocations: 0 / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.7739, allocations: 4 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7739, allocations: 3.938 kB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.7739, allocations: 0 / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.7739, allocations: 0 / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7739, allocations: 0 / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.396e-05/0.7739, allocations: 65.08 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.7739, allocations: 3.938 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-06/0.7739, allocations: 0 / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-06/0.774, allocations: 4.031 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.774, allocations: 7.938 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.774, allocations: 4 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.107e-05/0.774, allocations: 75.28 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.774, allocations: 0 / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001327/0.7741, allocations: 15.88 kB / 1.356 GB, free: 13.41 MB / 1.042 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.0002845/0.7744, allocations: 0.6085 MB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.7745, allocations: 8 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.7745, allocations: 4.031 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.7745, allocations: 4 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.619e-05/0.7746, allocations: 4 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.7748, allocations: 102.7 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.7748, allocations: 55.22 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.6e-05/0.7749, allocations: 4 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.7749, allocations: 7.438 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of SimCode: time 5.31e-07/0.7749, allocations: 0 / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07984/0.8547, allocations: 1.63 MB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.783/7.638, allocations: 11.22 kB / 1.359 GB, free: 11.02 MB / 1.042 GB " [Timeout remaining time 292] (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: 12.560466959141195]