Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 443.5 MB / 0.731 GB, free: 13.94 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 68.11 kB / 1.06 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3379, allocations: 160.7 MB / 1.217 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002675/0.3406, allocations: 1.499 MB / 1.218 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3417, allocations: 0.656 MB / 1.219 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.3417, allocations: 0 / 1.219 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.3418, allocations: 3.938 kB / 1.219 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.3418, allocations: 7.875 kB / 1.219 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.3421, allocations: 79.72 kB / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.3422, allocations: 31.92 kB / 1.219 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.3423, allocations: 19.92 kB / 1.219 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.3424, allocations: 11.94 kB / 1.219 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.3424, allocations: 19.92 kB / 1.219 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3425, allocations: 4 kB / 1.219 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.3427, allocations: 103.8 kB / 1.219 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.3427, allocations: 11.92 kB / 1.219 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.3427, allocations: 15.94 kB / 1.219 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3429, allocations: 87.69 kB / 1.219 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3429, allocations: 7.938 kB / 1.219 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3429, allocations: 0 / 1.219 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.3429, allocations: 0 / 1.219 GB, free: 12.91 MB / 0.9669 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.000487/0.3434, allocations: 367.2 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3434, allocations: 12.03 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.3435, allocations: 8.891 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3436, allocations: 168.3 kB / 1.22 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3436, allocations: 384 / 1.22 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3436, allocations: 8.375 kB / 1.22 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3438, allocations: 57.92 kB / 1.22 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3438, allocations: 0 / 1.22 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3438, allocations: 4 kB / 1.22 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3438, allocations: 8 kB / 1.22 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.3439, allocations: 19.98 kB / 1.22 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.3443, allocations: 276.8 kB / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.437e-05/0.3444, allocations: 34.5 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.3444, allocations: 20.91 kB / 1.22 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.345, allocations: 0.5623 MB / 1.221 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.345, allocations: 30.56 kB / 1.221 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.345, allocations: 0 / 1.221 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000243/0.3453, allocations: 69.56 kB / 1.221 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.3453, allocations: 59.34 kB / 1.221 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3454, allocations: 125.9 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3454, allocations: 29.69 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.3455, allocations: 84.14 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.3455, allocations: 15.89 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.3456, allocations: 9.719 kB / 1.221 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3457, allocations: 326.8 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.3458, allocations: 4 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.3458, allocations: 11.98 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.956e-05/0.3459, allocations: 32.84 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3459, allocations: 0 / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001361/0.346, allocations: 57.58 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.346, allocations: 6.031 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.346, allocations: 0 / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3461, allocations: 4 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.3461, allocations: 7.984 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3461, allocations: 4.094 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.3462, allocations: 0 / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3462, allocations: 4 kB / 1.221 GB, free: 10.16 MB / 0.9669 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.207e-05/0.3463, allocations: 113.8 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.3463, allocations: 7.953 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.3464, allocations: 69.11 kB / 1.222 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3465, allocations: 0 / 1.222 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3465, allocations: 4.031 kB / 1.222 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3465, allocations: 0 / 1.222 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3466, allocations: 169.6 kB / 1.222 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3466, allocations: 3.938 kB / 1.222 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.3467, allocations: 7.984 kB / 1.222 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3467, allocations: 4 kB / 1.222 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3467, allocations: 0 / 1.222 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3467, allocations: 0 / 1.222 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3467, allocations: 0 / 1.222 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.3469, allocations: 167.4 kB / 1.222 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.3469, allocations: 81.06 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.347, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.347, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.347, allocations: 7.984 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3471, allocations: 0 / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.3471, allocations: 99.27 kB / 1.222 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3471, allocations: 0 / 1.222 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002246/0.3473, allocations: 15.97 kB / 1.222 GB, free: 9.324 MB / 0.9669 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.0001672/0.3475, allocations: 107.1 kB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.3476, allocations: 23.98 kB / 1.222 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3476, allocations: 0 / 1.222 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.3477, allocations: 15.98 kB / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.3479, allocations: 0 / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.3482, allocations: 164.4 kB / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3486, allocations: 0.6884 MB / 1.223 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.3486, allocations: 15.44 kB / 1.223 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3486, allocations: 0 / 1.223 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.002308/0.3509, allocations: 0.7145 MB / 1.224 GB, free: 7.535 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches