Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001348/0.001348, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001529/0.001529, allocations: 212.6 kB / 22.24 MB, free: 5.258 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.805 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.408/3.408, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_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_latest_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.002386/0.002386, allocations: 68.78 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3567, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002739/0.3595, allocations: 1.518 MB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3608, allocations: 0.6828 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.3608, allocations: 3.938 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.3608, allocations: 3.938 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.3609, allocations: 7.938 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.3613, allocations: 103.6 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.3614, allocations: 31.92 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.3615, allocations: 15.92 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3616, allocations: 19.92 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.3616, allocations: 23.86 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.3617, allocations: 7.875 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.3619, allocations: 111.9 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.3619, allocations: 8 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.3619, allocations: 11.94 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.3621, allocations: 99.69 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3621, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3621, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3621, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 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.00045/0.3626, allocations: 290 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3626, allocations: 8.031 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3628, allocations: 16.88 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.3629, allocations: 130.4 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3629, allocations: 4.375 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.363, allocations: 4.375 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3631, allocations: 61.92 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3631, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.3631, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3631, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.3632, allocations: 27.98 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.3635, allocations: 224.4 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.993e-05/0.3636, allocations: 34.52 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.3637, allocations: 16.91 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.3639, allocations: 39.97 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3639, allocations: 30.56 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3639, allocations: 0 / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002421/0.3642, allocations: 69.61 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3642, allocations: 51.53 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.3643, allocations: 113.8 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3643, allocations: 30.08 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.3644, allocations: 96.02 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.3644, allocations: 7.953 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.3644, allocations: 13.72 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3646, allocations: 322.7 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.3646, allocations: 7.984 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.3647, allocations: 8 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.3647, allocations: 32.91 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3647, allocations: 0 / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001215/0.3649, allocations: 57.61 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3649, allocations: 8 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3649, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3649, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.365, allocations: 4 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.365, allocations: 0 / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.365, allocations: 11.97 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.365, allocations: 4.031 kB / 1.368 GB, free: 9.035 MB / 1.061 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.26e-05/0.3651, allocations: 117.8 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.3651, allocations: 7.891 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.3653, allocations: 61.23 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3653, allocations: 0 / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3653, allocations: 0 / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3653, allocations: 4 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.3654, allocations: 117.2 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3654, allocations: 0 / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.3655, allocations: 12.02 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3655, allocations: 0 / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3655, allocations: 0 / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3655, allocations: 0 / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3655, allocations: 0 / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3657, allocations: 147.5 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.3657, allocations: 11.94 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3657, allocations: 4 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.3658, allocations: 0 / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.3658, allocations: 0 / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.3658, allocations: 11.97 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.103e-05/0.3658, allocations: 87.27 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3658, allocations: 288 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002345/0.3661, allocations: 15.94 kB / 1.369 GB, free: 8.379 MB / 1.061 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.0001795/0.3663, allocations: 111.2 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.3664, allocations: 23.92 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3664, allocations: 0 / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.3664, allocations: 20.05 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3666, allocations: 7.875 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.367, allocations: 134.7 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.242e-05/0.367, allocations: 67.34 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.367, allocations: 7.984 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.3671, allocations: 15.42 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3671, allocations: 0 / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of Templates: time 0.002987/0.3701, allocations: 0.5363 MB / 1.37 GB, free: 7.418 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.987499227747321]