Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Splice.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.001031/0.001031, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002336, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001444/0.001444, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.003112, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9964/0.9964, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09544/1.092, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.88/1.88, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4889/2.369, allocations: 123.3 MB / 0.7283 GB, free: 5.766 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.7297 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.445e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.426 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002269/0.002294, allocations: 1.612 MB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.003191, allocations: 0.7172 MB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.003238, allocations: 2.25 kB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.003262, allocations: 3.938 kB / 0.7319 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.00329, allocations: 6.781 kB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.003525, allocations: 97.7 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.003629, allocations: 41.25 kB / 0.7321 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.003712, allocations: 8 kB / 0.7321 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.003846, allocations: 38.86 kB / 0.7321 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.003897, allocations: 16.02 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.00391, allocations: 4 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.004098, allocations: 119.8 kB / 0.7323 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.004114, allocations: 8.562 kB / 0.7323 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.004134, allocations: 8 kB / 0.7323 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.004302, allocations: 92.45 kB / 0.7324 GB, free: 1.707 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.004316, allocations: 0 / 0.7324 GB, free: 1.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.293e-06/0.004317, allocations: 0.625 kB / 0.7324 GB, free: 1.707 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.004329, allocations: 0 / 0.7324 GB, free: 1.707 MB / 0.698 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.0006773/0.005007, allocations: 285.2 kB / 0.7326 GB, free: 1.406 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.005044, allocations: 12.03 kB / 0.7326 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.005202, allocations: 90.72 kB / 0.7327 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.005328, allocations: 123.1 kB / 0.7329 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.005337, allocations: 384 / 0.7329 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.005347, allocations: 4.375 kB / 0.7329 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/0.005435, allocations: 58.94 kB / 0.7329 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.005441, allocations: 0.7188 kB / 0.7329 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.005449, allocations: 5.953 kB / 0.7329 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.005456, allocations: 3.938 kB / 0.7329 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.005479, allocations: 11.94 kB / 0.7329 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.005668, allocations: 160.2 kB / 0.7331 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.275e-05/0.00571, allocations: 23.52 kB / 0.7331 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.087e-05/0.005721, allocations: 8.797 kB / 0.7331 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.00586, allocations: 38.12 kB / 0.7332 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.005882, allocations: 38.5 kB / 0.7332 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.005883, allocations: 0 / 0.7332 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.979e-05/0.005983, allocations: 38.5 kB / 0.7332 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.006005, allocations: 52.66 kB / 0.7333 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.457e-05/0.006059, allocations: 118.7 kB / 0.7334 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.00607, allocations: 33.7 kB / 0.7334 GB, free: 496 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.006099, allocations: 97.7 kB / 0.7335 GB, free: 396 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.006114, allocations: 7.953 kB / 0.7335 GB, free: 388 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.006135, allocations: 9.719 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.006209, allocations: 322.8 kB / 0.7338 GB, free: 40 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.006217, allocations: 4 kB / 0.7338 GB, free: 36 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.006223, allocations: 1.219 kB / 0.7338 GB, free: 36 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.006247, allocations: 12.86 kB / 0.7339 GB, free: 20 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006249, allocations: 0.6562 kB / 0.7339 GB, free: 20 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.33e-05/0.006302, allocations: 38.75 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006314, allocations: 8 kB / 0.7339 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006318, allocations: 3.938 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.006327, allocations: 0.8125 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.953e-05/0.006376, allocations: 11.92 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.006379, allocations: 1.25 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.388e-05/0.006393, allocations: 4 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.006403, allocations: 4 kB / 0.7339 GB, free: 15.95 MB / 0.7136 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 4.737e-05/0.00645, allocations: 106.9 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.006463, allocations: 7.938 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.006537, allocations: 37.84 kB / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006539, allocations: 0 / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.00654, allocations: 5.219 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.006543, allocations: 3.984 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.715e-05/0.00662, allocations: 69.89 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.006623, allocations: 4.719 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.006644, allocations: 7.984 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.006649, allocations: 1.219 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.006652, allocations: 3.938 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-06/0.006655, allocations: 3.938 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006656, allocations: 0.6875 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.006658, allocations: 4 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.286e-05/0.006721, allocations: 128.9 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-06/0.006729, allocations: 0 / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.006755, allocations: 3.938 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.006777, allocations: 8.484 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.006779, allocations: 0.75 kB / 0.7343 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.719e-05/0.006797, allocations: 8.859 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006797, allocations: 4.75 kB / 0.7343 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001316/0.006928, allocations: 23.88 kB / 0.7343 GB, free: 15.47 MB / 0.7136 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.0001389/0.007067, allocations: 102.1 kB / 0.7344 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.776e-05/0.007125, allocations: 16.73 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.007129, allocations: 1.344 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.861e-05/0.007148, allocations: 8.859 kB / 0.7345 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.00727, allocations: 17.39 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.007915, allocations: 129.8 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.031e-05/0.007946, allocations: 56.06 kB / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.007964, allocations: 5.25 kB / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.007999, allocations: 51.38 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/0.008, allocations: 0 / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.002118/0.01012, allocations: 0.5873 MB / 0.7353 GB, free: 14.48 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Splice/Buildings_12_Buildings.Utilities.Math.Examples.Splice.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.94687854219228]