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.001792/0.001792, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002134/0.002134, allocations: 218.7 kB / 23.01 MB, free: 4.605 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.869/2.869, allocations: 476.7 MB / 0.7714 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 176] 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.002063/0.002063, allocations: 67.05 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 170 MB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002974/0.328, allocations: 1.528 MB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3294, allocations: 0.7573 MB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.3295, allocations: 4 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.3295, allocations: 3.938 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.87e-05/0.3295, allocations: 7.938 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.33, allocations: 99.64 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3301, allocations: 43.8 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3302, allocations: 15.92 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3303, allocations: 19.92 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.3304, allocations: 15.92 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3304, allocations: 11.94 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.3306, allocations: 119.9 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.3306, allocations: 4 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.3307, allocations: 19.86 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.3309, allocations: 99.7 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3309, allocations: 0 / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3309, allocations: 0 / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3309, allocations: 0 / 1.287 GB, free: 8.398 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.0004723/0.3314, allocations: 294 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3314, allocations: 12.03 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.3315, allocations: 20.89 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.3317, allocations: 122.4 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.3318, allocations: 384 / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.3318, allocations: 8.375 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3319, allocations: 57.97 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.332, allocations: 0 / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.332, allocations: 4 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.332, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.3321, allocations: 27.98 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.3324, allocations: 255.8 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.795e-05/0.3325, allocations: 30.56 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.3326, allocations: 16.92 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.3328, allocations: 35.95 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3329, allocations: 42.5 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.3329, allocations: 0 / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002485/0.3331, allocations: 61.62 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3332, allocations: 51.41 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3333, allocations: 126.2 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3333, allocations: 29.7 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.3334, allocations: 88.12 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.3334, allocations: 11.89 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.3334, allocations: 13.72 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3336, allocations: 322.8 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.3336, allocations: 8 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.3337, allocations: 15.92 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.916e-05/0.3337, allocations: 36.78 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3337, allocations: 0 / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/0.3339, allocations: 57.64 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3339, allocations: 8 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3339, allocations: 0 / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3339, allocations: 0 / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.334, allocations: 4 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.334, allocations: 3.984 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.334, allocations: 8.031 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.334, allocations: 0 / 1.289 GB, free: 6.477 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.969e-05/0.3341, allocations: 109.8 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.3341, allocations: 7.953 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.3343, allocations: 65.23 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3343, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3343, allocations: 4 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3343, allocations: 4.031 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3345, allocations: 140.7 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3345, allocations: 0 / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.3345, allocations: 7.984 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3345, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3345, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3345, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3345, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3347, allocations: 167.4 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.3347, allocations: 8 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3347, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.924e-05/0.3348, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.3348, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.3348, allocations: 4 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.572e-05/0.3349, allocations: 99.27 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 0 / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002379/0.3351, allocations: 19.86 kB / 1.29 GB, free: 5.777 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.0001639/0.3353, allocations: 107.3 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.3354, allocations: 27.91 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3354, allocations: 0 / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.3355, allocations: 15.94 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3357, allocations: 6.344 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.3361, allocations: 172.5 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.3364, allocations: 0.6885 MB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.3365, allocations: 11.38 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3365, allocations: 0 / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.002515/0.339, allocations: 0.8163 MB / 1.291 GB, free: 3.871 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.333209214993985]