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.001593/0.001593, 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.001771/0.001771, allocations: 214.4 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.204/3.204, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 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.002067/0.002067, allocations: 68.34 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3378, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002814/0.3406, allocations: 1.506 MB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3419, allocations: 0.6866 MB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.342, allocations: 4 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.342, allocations: 7.938 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.342, allocations: 3.938 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.3424, allocations: 103.6 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.546e-05/0.3425, allocations: 35.86 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.3426, allocations: 15.92 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.885e-05/0.3427, allocations: 27.84 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.3428, allocations: 11.94 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3428, allocations: 4 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.343, allocations: 111.9 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.3431, allocations: 11.94 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.3431, allocations: 15.92 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3433, allocations: 95.69 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3433, allocations: 4 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3433, allocations: 0 / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3433, allocations: 0 / 1.367 GB, free: 10.91 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.000533/0.3438, allocations: 286 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3439, allocations: 12.03 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.344, allocations: 16.88 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.3442, allocations: 126.4 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3442, allocations: 4.375 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3442, allocations: 4.312 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3444, allocations: 54 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3444, allocations: 4 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3444, allocations: 0 / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3444, allocations: 3.938 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.175e-05/0.3445, allocations: 27.98 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.3449, allocations: 224.4 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.755e-05/0.345, allocations: 34.56 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.345, allocations: 16.92 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.3452, allocations: 39.95 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3453, allocations: 38.5 kB / 1.368 GB, free: 9.926 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3453, allocations: 0 / 1.368 GB, free: 9.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002415/0.3455, allocations: 61.62 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3456, allocations: 59.39 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3457, allocations: 109.8 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3457, allocations: 29.7 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.3457, allocations: 92.11 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3458, allocations: 7.938 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.3458, allocations: 13.72 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.346, allocations: 326.8 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.346, allocations: 4 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.346, allocations: 16.11 kB / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.3461, allocations: 28.84 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3461, allocations: 0 / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.3462, allocations: 53.62 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3463, allocations: 6.344 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.3463, allocations: 0 / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3463, allocations: 7.984 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.3463, allocations: 7.984 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3463, allocations: 96 / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.3464, allocations: 4 kB / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3464, allocations: 0 / 1.369 GB, free: 9.055 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 9.528e-05/0.3465, allocations: 117.8 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3465, allocations: 7.953 kB / 1.369 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.3467, allocations: 65.23 kB / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3467, allocations: 0 / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3467, allocations: 384 / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3467, allocations: 0 / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.3468, allocations: 117.2 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3468, allocations: 4.031 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.3469, allocations: 7.938 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3469, allocations: 0 / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3469, allocations: 4 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3469, allocations: 0 / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3469, allocations: 0 / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.3471, allocations: 159.4 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.3471, allocations: 3.953 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3471, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.3472, allocations: 8.031 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3472, allocations: 7.922 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3472, allocations: 4 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.3473, allocations: 87.28 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3473, allocations: 0 / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002478/0.3475, allocations: 19.92 kB / 1.369 GB, free: 8.383 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.0001784/0.3477, allocations: 103.2 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.3478, allocations: 23.98 kB / 1.37 GB, free: 8.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3478, allocations: 4.062 kB / 1.37 GB, free: 8.246 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/0.3479, allocations: 15.98 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.3481, allocations: 3.938 kB / 1.37 GB, free: 8.227 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.3484, allocations: 164.4 kB / 1.37 GB, free: 8.035 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.362e-05/0.3485, allocations: 67.33 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.3485, allocations: 7.438 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3485, allocations: 0 / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of Templates: time 0.00236/0.3509, allocations: 0.8088 MB / 1.371 GB, free: 7.133 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/jenkins1/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: 10.831630310975015]