Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001458/0.001458, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.00158/0.00158, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.086 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.504/3.504, allocations: 0.505 GB / 0.8066 GB, free: 23.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_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.003524/0.003524, allocations: 70.56 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3379, allocations: 180.2 MB / 1.348 GB, free: 9.887 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001775/0.3396, allocations: 0.5817 MB / 1.348 GB, free: 9.309 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3414, allocations: 1.342 MB / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.3414, allocations: 3.938 kB / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.3415, allocations: 0 / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.3415, allocations: 0 / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.3418, allocations: 71.75 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.546e-05/0.3419, allocations: 4 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.3419, allocations: 4 kB / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.331e-05/0.3419, allocations: 0 / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.342, allocations: 3.984 kB / 1.35 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.342, allocations: 0 / 1.35 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.3423, allocations: 115.8 kB / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.3423, allocations: 0 / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.386e-05/0.3423, allocations: 0 / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3425, allocations: 68.14 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3425, allocations: 0 / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3425, allocations: 0 / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.954e-06/0.3425, allocations: 4 kB / 1.35 GB, free: 7.68 MB / 1.045 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.0003366/0.3428, allocations: 335.3 kB / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3429, allocations: 11.98 kB / 1.35 GB, free: 7.293 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.3429, allocations: 34.75 kB / 1.35 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.3429, allocations: 4.938 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.343, allocations: 160.4 kB / 1.35 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.343, allocations: 384 / 1.35 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.343, allocations: 384 / 1.35 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.219e-05/0.3431, allocations: 37.83 kB / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3431, allocations: 7.938 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3432, allocations: 0 / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3432, allocations: 0 / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.3432, allocations: 3.984 kB / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.3433, allocations: 145.7 kB / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.286e-05/0.3434, allocations: 14.58 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.3434, allocations: 8.859 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005963/0.344, allocations: 0.5662 MB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.344, allocations: 34.5 kB / 1.351 GB, free: 6.031 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.344, allocations: 0 / 1.351 GB, free: 6.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001334/0.3442, allocations: 37.64 kB / 1.351 GB, free: 5.988 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3442, allocations: 55.39 kB / 1.351 GB, free: 5.922 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.52e-05/0.3442, allocations: 89.98 kB / 1.351 GB, free: 5.824 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3443, allocations: 29.7 kB / 1.351 GB, free: 5.789 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.3443, allocations: 84.14 kB / 1.352 GB, free: 5.703 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3443, allocations: 3.953 kB / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.3443, allocations: 9.719 kB / 1.352 GB, free: 5.684 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3445, allocations: 314.8 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.3445, allocations: 8 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-06/0.3445, allocations: 0 / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.3445, allocations: 16.86 kB / 1.352 GB, free: 5.34 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3445, allocations: 0 / 1.352 GB, free: 5.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.819e-05/0.3446, allocations: 33.69 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3446, allocations: 7.938 kB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3446, allocations: 4 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.3446, allocations: 0 / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.879e-05/0.3447, allocations: 3.938 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3447, allocations: 0 / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.3447, allocations: 0 / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3447, allocations: 4 kB / 1.352 GB, free: 5.281 MB / 1.045 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.337e-05/0.3448, allocations: 109.9 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.3448, allocations: 7.938 kB / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/0.3449, allocations: 40.75 kB / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3449, allocations: 0 / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3449, allocations: 7.984 kB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.3449, allocations: 0 / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.345, allocations: 141.7 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.345, allocations: 8.016 kB / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.345, allocations: 4 kB / 1.352 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.345, allocations: 3.938 kB / 1.352 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.345, allocations: 0 / 1.352 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.345, allocations: 0 / 1.352 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.345, allocations: 0 / 1.352 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/0.3451, allocations: 65.08 kB / 1.352 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.3452, allocations: 85.03 kB / 1.352 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.3452, allocations: 4.031 kB / 1.352 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.3452, allocations: 0 / 1.352 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-06/0.3452, allocations: 0 / 1.352 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.3452, allocations: 0 / 1.352 GB, free: 4.707 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.3452, allocations: 75.28 kB / 1.352 GB, free: 4.633 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3452, allocations: 4 kB / 1.352 GB, free: 4.629 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002009/0.3454, allocations: 11.94 kB / 1.352 GB, free: 4.617 MB / 1.045 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.0004698/0.3459, allocations: 0.6124 MB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.553e-05/0.346, allocations: 7.938 kB / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.346, allocations: 4 kB / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.346, allocations: 0 / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.3461, allocations: 3.938 kB / 1.353 GB, free: 3.957 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.3465, allocations: 122.5 kB / 1.353 GB, free: 3.797 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3468, allocations: 0.6768 MB / 1.354 GB, free: 3.094 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.3468, allocations: 0 / 1.354 GB, free: 3.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.3468, allocations: 7.438 kB / 1.354 GB, free: 3.09 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3468, allocations: 0 / 1.354 GB, free: 3.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.3745, allocations: 1.142 MB / 1.355 GB, free: 2.059 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.397, allocations: 8.062 kB / 1.355 GB, free: 2.051 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.589605162851512]