Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Splice.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.001584/0.001584, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001899/0.001899, allocations: 192.5 kB / 22.17 MB, free: 5.656 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.554/1.554, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] 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.947/2.947, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 63.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8788/0.8817, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00322/0.885, allocations: 1.504 MB / 1.276 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.8863, allocations: 0.6637 MB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.8864, allocations: 0 / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.8864, allocations: 3.938 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.858e-05/0.8865, allocations: 7.922 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.8869, allocations: 83.72 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.484e-05/0.887, allocations: 27.92 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.8871, allocations: 10.67 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.8872, allocations: 31.84 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.8873, allocations: 15.92 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.8873, allocations: 4 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.8875, allocations: 99.89 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.8875, allocations: 11.94 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.8876, allocations: 23.8 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.8878, allocations: 79.78 kB / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8878, allocations: 0 / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8878, allocations: 0 / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.8878, allocations: 0 / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005657/0.8884, allocations: 367.1 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.8884, allocations: 16.02 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.8885, allocations: 4.891 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.8886, allocations: 176.3 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.8886, allocations: 384 / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.8887, allocations: 8.312 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.8888, allocations: 65.95 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.8889, allocations: 0 / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.8889, allocations: 3.938 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8889, allocations: 8 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.889, allocations: 19.98 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.8894, allocations: 284.7 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.8895, allocations: 30.56 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.8896, allocations: 16.92 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005794/0.8902, allocations: 0.5583 MB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.8902, allocations: 34.56 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.8902, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002878/0.8905, allocations: 65.61 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.8906, allocations: 59.53 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.8907, allocations: 121.8 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.8907, allocations: 25.7 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.8908, allocations: 88.14 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.8908, allocations: 11.94 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.8908, allocations: 13.72 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.891, allocations: 322.8 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-05/0.891, allocations: 7.984 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.8911, allocations: 12 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.462e-05/0.8911, allocations: 28.84 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8911, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001402/0.8913, allocations: 65.56 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8913, allocations: 4 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8913, allocations: 0 / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8913, allocations: 4 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.8914, allocations: 8.094 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.8914, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.8914, allocations: 3.984 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.8914, allocations: 4 kB / 1.279 GB, free: 15.22 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 (2): * Single equations (assignments): 2 * 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 8.869e-05/0.8915, allocations: 117.7 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.8916, allocations: 7.953 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.8918, allocations: 65.14 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.8918, allocations: 4.031 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8918, allocations: 3.938 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8918, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.892, allocations: 165.6 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.892, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.892, allocations: 7.984 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.892, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.892, allocations: 4 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.892, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.892, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.8922, allocations: 155.4 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.8923, allocations: 85.09 kB / 1.279 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.8923, allocations: 0 / 1.279 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.113e-05/0.8923, allocations: 0 / 1.279 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.8924, allocations: 4 kB / 1.279 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.8924, allocations: 0 / 1.279 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.298e-05/0.8924, allocations: 107.6 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8924, allocations: 4.031 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002389/0.8927, allocations: 15.88 kB / 1.28 GB, free: 14.39 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 (2): * Single equations (assignments): 2 * 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.0001992/0.8929, allocations: 103.8 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.893, allocations: 23.98 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.893, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.8931, allocations: 15.98 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.8933, allocations: 1.562 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.8937, allocations: 154.7 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.894, allocations: 0.6807 MB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.894, allocations: 7.984 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.8941, allocations: 7.438 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8941, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.003265/0.8973, allocations: 0.4967 MB / 1.281 GB, free: 12.84 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.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: 9.027549632824957]