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.001371/0.001371, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001405/0.001405, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.228/3.228, allocations: 0.49 GB / 0.7958 GB, free: 33.46 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.001949/0.001949, allocations: 68.16 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3342, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003026/0.3372, allocations: 1.535 MB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3385, allocations: 0.7517 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.3385, allocations: 4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.3386, allocations: 11.92 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.3386, allocations: 11.81 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.339, allocations: 99.64 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.3391, allocations: 35.92 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3392, allocations: 11.94 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3393, allocations: 19.92 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.3394, allocations: 19.91 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3394, allocations: 4 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.3396, allocations: 119.9 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.3397, allocations: 15.92 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.3397, allocations: 15.88 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.3399, allocations: 99.69 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3399, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3399, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3399, allocations: 0 / 1.33 GB, free: 14.68 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.0004349/0.3403, allocations: 293.9 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3404, allocations: 12.03 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.3405, allocations: 20.88 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.3407, allocations: 118.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3407, allocations: 4.375 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.3408, allocations: 4.375 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3409, allocations: 50 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3409, allocations: 3.938 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3409, allocations: 7.984 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3409, allocations: 7.938 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.341, allocations: 23.98 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.3414, allocations: 247.9 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.123e-05/0.3415, allocations: 30.52 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.3416, allocations: 20.91 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.3418, allocations: 40.03 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3418, allocations: 34.56 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3418, allocations: 0 / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002402/0.3421, allocations: 61.62 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3421, allocations: 55.41 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3422, allocations: 127.6 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3423, allocations: 25.83 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.3423, allocations: 100.1 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.3423, allocations: 3.953 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3424, allocations: 25.64 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3425, allocations: 314.8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.3426, allocations: 11.98 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.3426, allocations: 8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.088e-05/0.3427, allocations: 28.91 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3427, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001209/0.3428, allocations: 57.64 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3428, allocations: 8 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3428, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3428, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.3429, allocations: 11.92 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3429, allocations: 3.938 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.3429, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.3429, allocations: 4.031 kB / 1.331 GB, free: 12.76 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.265e-05/0.343, allocations: 114.3 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.343, allocations: 7.938 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.3432, allocations: 65.28 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3432, allocations: 4 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3432, allocations: 4 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3432, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.3434, allocations: 144.7 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3434, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.3434, allocations: 4 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3434, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3434, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3434, allocations: 4 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3434, allocations: 7.875 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.3436, allocations: 159.4 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.3436, allocations: 8 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3436, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.3437, allocations: 3.984 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.3437, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.3437, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.3438, allocations: 102.5 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3438, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002359/0.344, allocations: 19.88 kB / 1.332 GB, free: 12.04 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.0001693/0.3442, allocations: 107.3 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.3443, allocations: 27.92 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3443, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.3444, allocations: 15.98 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.3446, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.3449, allocations: 164.6 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.3453, allocations: 0.6846 MB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.3453, allocations: 15.36 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3453, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of Templates: time 0.002512/0.3478, allocations: 0.828 MB / 1.334 GB, free: 10.13 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: 11.05794625999988]