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.001844/0.001844, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002216/0.002216, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.522/1.522, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.705/2.705, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.383e-06/1.383e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.968e-05, allocations: 3.438 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002813/0.002843, allocations: 1.519 MB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.004226, allocations: 0.6929 MB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.004274, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.004307, allocations: 7.922 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.00436, allocations: 9.625 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.004983, allocations: 99.58 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.005088, allocations: 39.8 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.005175, allocations: 8 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.005297, allocations: 32.8 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.005341, allocations: 11.92 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.005356, allocations: 4.656 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.00559, allocations: 109.2 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.005603, allocations: 4 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.005638, allocations: 19.91 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.005851, allocations: 103.8 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005854, allocations: 1.312 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005854, allocations: 3.938 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.005858, allocations: 4 kB / 0.789 GB, free: 10.12 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.0004852/0.006343, allocations: 295.1 kB / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.006377, allocations: 8.031 kB / 0.7893 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.006542, allocations: 22.23 kB / 0.7893 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.006755, allocations: 129.6 kB / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.006765, allocations: 384 / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.006776, allocations: 4.375 kB / 0.7894 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.006935, allocations: 55.89 kB / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.006943, allocations: 192 / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.006952, allocations: 384 / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.006961, allocations: 7.938 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.007069, allocations: 25.58 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.007409, allocations: 216.5 kB / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.007514, allocations: 36.12 kB / 0.7897 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.007568, allocations: 12.91 kB / 0.7898 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.007815, allocations: 42.59 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.007854, allocations: 34.56 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.007855, allocations: 0 / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002873/0.008142, allocations: 65.61 kB / 0.7899 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.008188, allocations: 56.09 kB / 0.79 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.008294, allocations: 105.8 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.008316, allocations: 27.2 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.008386, allocations: 96.08 kB / 0.7902 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.008406, allocations: 11.89 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.008445, allocations: 13.72 kB / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.008626, allocations: 311.4 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.00868, allocations: 17.36 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.008715, allocations: 4 kB / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.00881, allocations: 37.94 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008812, allocations: 3.938 kB / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001522/0.008964, allocations: 58.98 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.008978, allocations: 4 kB / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.008982, allocations: 0 / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.009, allocations: 5.75 kB / 0.7906 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.009066, allocations: 4 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.009071, allocations: 0 / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.009104, allocations: 0 / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.009113, allocations: 3.984 kB / 0.7906 GB, free: 8.285 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 9.282e-05/0.009206, allocations: 115.4 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.00924, allocations: 11.89 kB / 0.7907 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.009418, allocations: 65.81 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.00942, allocations: 0 / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.009427, allocations: 5.875 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.009429, allocations: 0 / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.0096, allocations: 117.4 kB / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.009601, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.009648, allocations: 7.938 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.009652, allocations: 6.031 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.009661, allocations: 3.984 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009662, allocations: 0 / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.009663, allocations: 0 / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.009876, allocations: 148 kB / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.00989, allocations: 8.422 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.009902, allocations: 0 / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.009977, allocations: 12.7 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.01001, allocations: 0 / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.01001, allocations: 0.5312 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.591e-05/0.01008, allocations: 92.17 kB / 0.7912 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01008, allocations: 0 / 0.7912 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002518/0.01033, allocations: 15.94 kB / 0.7912 GB, free: 7.637 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.0001805/0.01051, allocations: 109.4 kB / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.01064, allocations: 23.98 kB / 0.7913 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01064, allocations: 3.938 kB / 0.7913 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.0107, allocations: 20.48 kB / 0.7914 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01093, allocations: 0.625 kB / 0.7914 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.01126, allocations: 138.2 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.751e-05/0.01134, allocations: 67.34 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.01137, allocations: 4.859 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.0114, allocations: 16.48 kB / 0.7916 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.0114, allocations: 3.469 kB / 0.7916 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of Templates: time 0.003069/0.01447, allocations: 0.5382 MB / 0.7921 GB, free: 6.691 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] 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.51279606600292]