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.001566/0.001566, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001729/0.001729, allocations: 209.3 kB / 23.03 MB, free: 4.863 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002007/0.002007, allocations: 66.5 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3395, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002775/0.3422, allocations: 1.512 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3435, allocations: 0.6934 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.3435, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.3436, allocations: 3.938 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.3436, allocations: 7.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.344, allocations: 105.3 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.688e-05/0.3441, allocations: 31.86 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.3442, allocations: 19.92 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.3443, allocations: 15.94 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.3443, allocations: 15.92 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3443, allocations: 7.938 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.3446, allocations: 111.9 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.3446, allocations: 4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.3446, allocations: 19.91 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.3448, allocations: 91.72 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3448, allocations: 7.938 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3448, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3448, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 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.0004684/0.3453, allocations: 298 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3453, allocations: 12.03 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.3455, allocations: 20.86 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.3457, allocations: 122.4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.3457, allocations: 384 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3457, allocations: 4.375 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3458, allocations: 61.98 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3458, allocations: 3.938 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3459, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3459, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.346, allocations: 23.98 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.3463, allocations: 224.4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.3463, allocations: 26.58 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.3464, allocations: 12.91 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.3466, allocations: 39.97 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3467, allocations: 34.56 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3467, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002459/0.3469, allocations: 69.56 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.3469, allocations: 51.41 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.347, allocations: 109.8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.347, allocations: 29.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.3471, allocations: 96.19 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.3471, allocations: 7.953 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3472, allocations: 13.72 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3473, allocations: 322.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.3474, allocations: 8.375 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.3474, allocations: 7.984 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.411e-05/0.3475, allocations: 32.78 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3475, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/0.3476, allocations: 65.64 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3476, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.3476, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3477, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.3477, allocations: 7.984 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3477, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.3478, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3478, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 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.377e-05/0.3478, allocations: 118.3 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.3479, allocations: 4.031 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.348, allocations: 69.22 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.348, allocations: 0 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.348, allocations: 0 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.348, allocations: 3.938 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3482, allocations: 117.2 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3482, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.3482, allocations: 7.984 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3482, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3482, allocations: 4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3482, allocations: 4.031 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3482, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.3485, allocations: 155.4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.3485, allocations: 8 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.3485, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/0.3485, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.3486, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.3486, allocations: 3.984 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.3486, allocations: 87.28 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3486, allocations: 4.031 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002384/0.3489, allocations: 19.89 kB / 1.332 GB, free: 11.78 MB / 1.029 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.0001571/0.349, allocations: 111.2 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.3492, allocations: 23.98 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3492, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.102e-05/0.3492, allocations: 20.2 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.3494, allocations: 3.938 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.3498, allocations: 172.6 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.156e-05/0.3498, allocations: 71.23 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.3498, allocations: 7.438 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3498, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Templates: time 0.002336/0.3522, allocations: 0.8007 MB / 1.333 GB, free: 10.52 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.987449801992625]