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.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.001306/0.001306, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00142/0.00142, allocations: 217.2 kB / 22.99 MB, free: 4.945 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.79/2.79, allocations: 476 MB / 0.7707 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] 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: 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: 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.002079/0.002079, allocations: 66.62 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 170 MB / 1.284 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003315/0.3678, allocations: 1.526 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3692, allocations: 0.6873 MB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.3693, allocations: 0 / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.3693, allocations: 3.938 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.3694, allocations: 11.92 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.3698, allocations: 91.66 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.3699, allocations: 39.86 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.37, allocations: 19.91 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3702, allocations: 19.88 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.3702, allocations: 15.92 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.3702, allocations: 4 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.3705, allocations: 111.9 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.3705, allocations: 11.94 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.3705, allocations: 15.94 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.3707, allocations: 95.69 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3707, allocations: 0 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3707, allocations: 4 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3707, allocations: 0 / 1.286 GB, free: 9.234 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004992/0.3712, allocations: 294 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3713, allocations: 12.02 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.3714, allocations: 8.938 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.3716, allocations: 126.4 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3717, allocations: 4.375 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3717, allocations: 8.312 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3718, allocations: 57.98 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3718, allocations: 0 / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3718, allocations: 0 / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3718, allocations: 0 / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.919e-05/0.3719, allocations: 27.98 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.3723, allocations: 224.4 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.3724, allocations: 26.58 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.3725, allocations: 20.91 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.3727, allocations: 39.91 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3727, allocations: 30.56 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3727, allocations: 3.938 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002516/0.373, allocations: 69.61 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.373, allocations: 51.53 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.3731, allocations: 117.8 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3731, allocations: 25.7 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.3732, allocations: 92.06 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.3732, allocations: 11.95 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.3732, allocations: 9.719 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3734, allocations: 322.8 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.3734, allocations: 8 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.3735, allocations: 11.98 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.3735, allocations: 28.92 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3735, allocations: 0 / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001276/0.3737, allocations: 61.56 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3737, allocations: 8 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3737, allocations: 4 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3737, allocations: 0 / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.3738, allocations: 4 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.3738, allocations: 0 / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.3738, allocations: 3.984 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3738, allocations: 8.031 kB / 1.288 GB, free: 7.375 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.268e-05/0.3739, allocations: 109.8 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.3739, allocations: 8 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3741, allocations: 61.23 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3741, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3741, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3741, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3743, allocations: 117.2 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3743, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.3743, allocations: 20 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3743, allocations: 384 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3743, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3743, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3743, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.3745, allocations: 155.4 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.3745, allocations: 7.922 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3745, allocations: 4 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/0.3746, allocations: 4 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.3746, allocations: 3.938 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.3746, allocations: 4.031 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.868e-05/0.3747, allocations: 91.27 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3747, allocations: 0 / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002437/0.3749, allocations: 15.94 kB / 1.289 GB, free: 6.723 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.0001952/0.3751, allocations: 111.2 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.3753, allocations: 19.98 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3753, allocations: 0 / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.3753, allocations: 16.05 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.3755, allocations: 8 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.3759, allocations: 166.6 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.123e-05/0.376, allocations: 63.34 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.376, allocations: 19.42 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.376, allocations: 0 / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of Templates: time 0.002493/0.3785, allocations: 0.811 MB / 1.29 GB, free: 5.457 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 -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/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: 11.163873314391822]