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.001813/0.001813, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002253/0.002253, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.016 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.84/2.84, allocations: 476.7 MB / 0.7707 GB, free: 4.297 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.002163/0.002163, allocations: 68.73 kB / 1.117 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4003, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001961/0.4023, allocations: 0.5936 MB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.4043, allocations: 1.344 MB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.4043, allocations: 0 / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.4043, allocations: 3.938 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-06/0.4043, allocations: 0 / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.4047, allocations: 79.72 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.4048, allocations: 0 / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.4048, allocations: 4 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.385e-05/0.4049, allocations: 0 / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.4049, allocations: 0 / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.196e-06/0.4049, allocations: 0 / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.4052, allocations: 123.9 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.4053, allocations: 0 / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.4053, allocations: 0 / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.4054, allocations: 60.09 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.4054, allocations: 0 / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4054, allocations: 0 / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4054, allocations: 3.938 kB / 1.286 GB, free: 9.484 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.0003426/0.4058, allocations: 258.2 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4058, allocations: 8.031 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.4059, allocations: 38.75 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.4059, allocations: 0.9375 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.406, allocations: 102.5 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.406, allocations: 384 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.406, allocations: 384 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.4061, allocations: 37.81 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4061, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.4061, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4061, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.959e-05/0.4061, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.4063, allocations: 132.7 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.4063, allocations: 14.58 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.4064, allocations: 8.953 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.4067, allocations: 39.95 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4067, allocations: 38.5 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.4067, allocations: 0 / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.4069, allocations: 37.64 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4069, allocations: 55.41 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.721e-05/0.4069, allocations: 89.86 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.407, allocations: 25.7 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.407, allocations: 80.14 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.407, allocations: 3.953 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.4071, allocations: 21.77 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4072, allocations: 314.8 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.4072, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.4072, allocations: 7.938 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.4073, allocations: 8.859 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4073, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.409e-05/0.4073, allocations: 33.64 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.4073, allocations: 11.94 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4073, allocations: 4.094 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4074, allocations: 3.984 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.193e-05/0.4074, allocations: 0 / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4074, allocations: 0 / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.093e-05/0.4074, allocations: 4 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.4074, allocations: 0 / 1.287 GB, free: 7.938 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.695e-05/0.4075, allocations: 105.8 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.4075, allocations: 3.938 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.4076, allocations: 48.69 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.4076, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4076, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.4076, allocations: 3.938 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.4077, allocations: 112.8 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4077, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.4077, allocations: 4 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4077, allocations: 7.938 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.4077, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4077, allocations: 4.016 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4077, allocations: 4 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.463e-05/0.4078, allocations: 57.14 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-06/0.4078, allocations: 3.938 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.4078, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.4078, allocations: 4 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.4079, allocations: 3.984 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.4079, allocations: 0 / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.4079, allocations: 79.31 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4079, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001896/0.4081, allocations: 12 kB / 1.287 GB, free: 7.418 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.0004638/0.4086, allocations: 0.6123 MB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.305e-05/0.4086, allocations: 8.031 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4086, allocations: 0 / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.4086, allocations: 7.938 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.4088, allocations: 13.45 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.4091, allocations: 110.5 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4094, allocations: 0.6729 MB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.4094, allocations: 8.109 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.4094, allocations: 7.438 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4094, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.44, allocations: 1.226 MB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.08, allocations: 10.95 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.017782212000384]