Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002254/0.002254, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002239/0.002239, allocations: 161.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.898/2.898, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.516e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002856/0.002881, allocations: 1.516 MB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.004262, allocations: 0.7037 MB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.00431, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.004335, allocations: 6.188 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.004403, allocations: 11.86 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.004807, allocations: 111.5 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.004913, allocations: 39.86 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.967e-05/0.004993, allocations: 13.95 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.005112, allocations: 19.97 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.005165, allocations: 19.92 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.005178, allocations: 0 / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.005427, allocations: 111.9 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.00544, allocations: 5.562 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.005467, allocations: 11.92 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.005698, allocations: 111.7 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.0057, allocations: 3.938 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.005701, allocations: 1.094 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.005704, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.7448 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.0007726/0.006477, allocations: 392 kB / 0.7894 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.006515, allocations: 12.66 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.006689, allocations: 21.97 kB / 0.7894 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.006874, allocations: 124.5 kB / 0.7895 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.006884, allocations: 384 / 0.7895 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.006898, allocations: 10.97 kB / 0.7895 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.007039, allocations: 46.25 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.00705, allocations: 4.172 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.007062, allocations: 4.375 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.007069, allocations: 3.938 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.00716, allocations: 27.92 kB / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.007556, allocations: 276.5 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.00767, allocations: 47.52 kB / 0.7899 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.007718, allocations: 17.34 kB / 0.7899 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.007963, allocations: 39.95 kB / 0.79 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.008002, allocations: 34.05 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.008004, allocations: 0.9688 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000254/0.008258, allocations: 57.69 kB / 0.7901 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.008303, allocations: 52.56 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.008451, allocations: 177.9 kB / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.00847, allocations: 29.7 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.008571, allocations: 144.1 kB / 0.7905 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.008592, allocations: 15.83 kB / 0.7905 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.008631, allocations: 15.38 kB / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002758/0.008907, allocations: 0.4901 MB / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.008947, allocations: 11.98 kB / 0.791 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.008975, allocations: 4 kB / 0.791 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.009053, allocations: 28.95 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.009055, allocations: 0 / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000134/0.009189, allocations: 53.62 kB / 0.7911 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.009202, allocations: 4.844 kB / 0.7911 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.009206, allocations: 0 / 0.7911 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.009218, allocations: 5.062 kB / 0.7911 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.009281, allocations: 7.938 kB / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.009285, allocations: 0 / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.009313, allocations: 5.375 kB / 0.7911 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.00932, allocations: 0 / 0.7911 GB, free: 7.812 MB / 0.7448 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 0.0001165/0.009436, allocations: 160.6 kB / 0.7912 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.009467, allocations: 13.27 kB / 0.7912 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.009623, allocations: 57.3 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.009625, allocations: 0 / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.009628, allocations: 6.969 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.00963, allocations: 0 / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.009797, allocations: 124.6 kB / 0.7914 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.0098, allocations: 3.984 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.00984, allocations: 7.938 kB / 0.7914 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009842, allocations: 0 / 0.7914 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.009848, allocations: 0 / 0.7914 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-06/0.009856, allocations: 7.938 kB / 0.7914 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009857, allocations: 0.5 kB / 0.7914 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.01008, allocations: 193.9 kB / 0.7916 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.01009, allocations: 11.89 kB / 0.7916 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.01011, allocations: 7.984 kB / 0.7916 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.01016, allocations: 4 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.01019, allocations: 0.8438 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.0102, allocations: 4 kB / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.804e-05/0.01029, allocations: 136 kB / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 0 / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002282/0.01052, allocations: 15.88 kB / 0.7918 GB, free: 7.012 MB / 0.7448 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.0001812/0.0107, allocations: 110.6 kB / 0.7919 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.01084, allocations: 35.61 kB / 0.7919 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01084, allocations: 0 / 0.7919 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.01089, allocations: 15.69 kB / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.0111, allocations: 4 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.01145, allocations: 152.1 kB / 0.7921 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.289e-05/0.01153, allocations: 75.33 kB / 0.7922 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.01155, allocations: 0 / 0.7922 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.01158, allocations: 13.53 kB / 0.7922 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01158, allocations: 3.938 kB / 0.7922 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.003254/0.01483, allocations: 0.5401 MB / 0.7927 GB, free: 6.023 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.8247043050359935]