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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 105.7 kB / 17.54 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 182.6 kB / 20.71 MB, free: 1.48 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.495/2.495, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.89 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.764, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001434/0.7655, allocations: 0.6029 MB / 1.272 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.7667, allocations: 1.265 MB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.354e-05/0.7667, allocations: 0 / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.7667, allocations: 0.875 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.7667, allocations: 0 / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.767, allocations: 68.36 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.408e-05/0.767, allocations: 2.172 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.7671, allocations: 6.344 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.067e-05/0.7671, allocations: 0.75 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.7671, allocations: 5.531 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.833e-06/0.7671, allocations: 0.7812 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.7674, allocations: 100.2 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.685e-06/0.7674, allocations: 0.8125 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.7674, allocations: 4.688 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.7675, allocations: 54.22 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7675, allocations: 4.875 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7675, allocations: 0 / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.7675, allocations: 0 / 1.273 GB, free: 6.34 MB / 0.9981 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.0002/0.7677, allocations: 321.4 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.7677, allocations: 9.656 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.084e-05/0.7678, allocations: 36.5 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.74e-05/0.7678, allocations: 0.9375 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.791e-05/0.7678, allocations: 165.3 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.7678, allocations: 1.375 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-06/0.7678, allocations: 1.438 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.125e-05/0.7679, allocations: 32.3 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.7679, allocations: 1.031 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.7679, allocations: 0 / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.7679, allocations: 0 / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.7679, allocations: 10.75 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.67e-05/0.768, allocations: 151.8 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.84e-05/0.7681, allocations: 21.56 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.207e-05/0.7681, allocations: 6.359 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/0.7684, allocations: 0.5621 MB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.7684, allocations: 39.5 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7684, allocations: 0 / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001009/0.7685, allocations: 36.89 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.394e-05/0.7685, allocations: 52.28 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.233e-05/0.7686, allocations: 93.86 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/0.7686, allocations: 27.16 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.753e-06/0.7686, allocations: 80.14 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.7686, allocations: 0.9688 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.7686, allocations: 16.42 kB / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.7686, allocations: 312.8 kB / 1.275 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.7687, allocations: 0 / 1.275 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.7687, allocations: 2.031 kB / 1.275 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.074e-05/0.7687, allocations: 12.72 kB / 1.275 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7687, allocations: 0 / 1.275 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.046e-05/0.7687, allocations: 36.59 kB / 1.275 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.7687, allocations: 9.734 kB / 1.275 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.7687, allocations: 4 kB / 1.275 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7688, allocations: 1.641 kB / 1.275 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.439e-05/0.7688, allocations: 2.188 kB / 1.275 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.7688, allocations: 0 / 1.275 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.7688, allocations: 0.5625 kB / 1.275 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.7688, allocations: 1.031 kB / 1.275 GB, free: 4.066 MB / 0.9981 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 3.172e-05/0.7688, allocations: 108.5 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.7688, allocations: 3.938 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/0.7689, allocations: 49.19 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7689, allocations: 3.984 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7689, allocations: 1.688 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.7689, allocations: 0 / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.808e-05/0.769, allocations: 144.7 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.769, allocations: 4.594 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.769, allocations: 1.688 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.769, allocations: 4.781 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.769, allocations: 2.5 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.769, allocations: 7.969 kB / 1.276 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.769, allocations: 0.9688 kB / 1.276 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.176e-05/0.769, allocations: 59.77 kB / 1.276 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.769, allocations: 86.03 kB / 1.276 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-06/0.769, allocations: 0 / 1.276 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-06/0.7691, allocations: 5 kB / 1.276 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-06/0.7691, allocations: 0 / 1.276 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.7691, allocations: 5.031 kB / 1.276 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.396e-06/0.7691, allocations: 75.28 kB / 1.276 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7691, allocations: 4.875 kB / 1.276 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001804/0.7692, allocations: 4.75 kB / 1.276 GB, free: 3.441 MB / 0.9981 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.0002085/0.7695, allocations: 0.6075 MB / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.821e-05/0.7695, allocations: 5.359 kB / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7695, allocations: 0 / 1.277 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.7695, allocations: 9.781 kB / 1.277 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.7696, allocations: 2.156 kB / 1.277 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.7698, allocations: 112.8 kB / 1.277 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.77, allocations: 0.6745 MB / 1.277 GB, free: 17.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.637e-05/0.77, allocations: 5.156 kB / 1.277 GB, free: 17.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.7701, allocations: 8.594 kB / 1.277 GB, free: 17.98 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/0.7701, allocations: 0 / 1.277 GB, free: 17.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.7926, allocations: 1.014 MB / 1.278 GB, free: 17.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.884/7.676, allocations: 16.02 kB / 1.278 GB, free: 17.62 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.021809638004925]