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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007977/0.007977, allocations: 99.27 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001834, allocations: 196.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7944, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00168/0.7961, allocations: 0.5913 MB / 1.221 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.7978, allocations: 1.25 MB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.7979, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.7979, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.875e-06/0.7979, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.7983, allocations: 63.75 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.043e-05/0.7983, allocations: 0 / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.7984, allocations: 8 kB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.7984, allocations: 0 / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.7984, allocations: 7.875 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.133e-06/0.7985, allocations: 0 / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.7987, allocations: 103.9 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.7987, allocations: 0 / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.7987, allocations: 0 / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.7989, allocations: 50.7 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7989, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7989, allocations: 8 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7989, allocations: 0 / 1.222 GB, free: 15.94 MB / 0.9512 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.0003389/0.7993, allocations: 332.3 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.7993, allocations: 12.03 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.7994, allocations: 38.75 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.7994, allocations: 0.9375 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.7995, allocations: 164.4 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.7995, allocations: 384 / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-06/0.7995, allocations: 384 / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/0.7996, allocations: 41.67 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.7997, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.7997, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.7997, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.7997, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.7998, allocations: 149.7 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.807e-05/0.7999, allocations: 18.56 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.7999, allocations: 4.859 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/0.8005, allocations: 0.57 MB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.8005, allocations: 42.44 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.8006, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.8007, allocations: 33.69 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.8007, allocations: 51.41 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.831e-05/0.8008, allocations: 93.98 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.8008, allocations: 29.7 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.8009, allocations: 80.14 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.8009, allocations: 3.984 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.8009, allocations: 9.719 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8011, allocations: 318.8 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.8011, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.8011, allocations: 3.984 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.8011, allocations: 16.86 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8011, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.417e-05/0.8012, allocations: 29.7 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8012, allocations: 11.94 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.8012, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.8012, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.737e-05/0.8013, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.8013, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.8013, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.8013, allocations: 8.031 kB / 1.224 GB, free: 13.55 MB / 0.9512 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.554e-05/0.8014, allocations: 113.8 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.8014, allocations: 3.938 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.137e-05/0.8015, allocations: 36.77 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8015, allocations: 4 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8015, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8015, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.8016, allocations: 153.7 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.8017, allocations: 0 / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.8017, allocations: 4 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.8017, allocations: 3.938 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.8017, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8017, allocations: 4 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8017, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.514e-05/0.8018, allocations: 65 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.8018, allocations: 85.08 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.8019, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.8019, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.8019, allocations: 4 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.8019, allocations: 7.984 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.802, allocations: 79.22 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.802, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001915/0.8022, allocations: 4 kB / 1.225 GB, free: 12.89 MB / 0.9512 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.0004577/0.8026, allocations: 0.6129 MB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.828e-05/0.8027, allocations: 3.938 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8027, allocations: 4 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.712e-06/0.8027, allocations: 0 / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.8028, allocations: 0 / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.8031, allocations: 110.7 kB / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.8035, allocations: 0.6768 MB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.8035, allocations: 4 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.8035, allocations: 7.438 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8035, allocations: 0 / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.8245, allocations: 1.031 MB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.954, allocations: 14.69 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB (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 50 --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) 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) Reference file matches