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.001615/0.001615, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001723/0.001723, allocations: 160.3 kB / 23.01 MB, free: 4.598 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.638/2.638, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002101/0.002101, allocations: 67.89 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2874, allocations: 169.9 MB / 1.117 GB, free: 2.625 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002671/0.2901, allocations: 1.51 MB / 1.119 GB, free: 1.105 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2914, allocations: 0.6857 MB / 1.12 GB, free: 424 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.2914, allocations: 7.938 kB / 1.12 GB, free: 416 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.2914, allocations: 7.875 kB / 1.12 GB, free: 408 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.532e-05/0.2915, allocations: 3.938 kB / 1.12 GB, free: 404 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.2919, allocations: 103.6 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.292, allocations: 35.92 kB / 1.12 GB, free: 264 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.2921, allocations: 11.98 kB / 1.12 GB, free: 252 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-05/0.2922, allocations: 23.92 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.2922, allocations: 15.86 kB / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2922, allocations: 7.938 kB / 1.12 GB, free: 204 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.2925, allocations: 111.9 kB / 1.12 GB, free: 92 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.2925, allocations: 7.938 kB / 1.12 GB, free: 84 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2925, allocations: 11.94 kB / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.2927, allocations: 111.6 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2927, allocations: 0 / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2927, allocations: 0 / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2927, allocations: 0 / 1.12 GB, free: 15.96 MB / 1.076 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.0004331/0.2932, allocations: 294 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2932, allocations: 12.03 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.2933, allocations: 16.88 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.2935, allocations: 114.5 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2935, allocations: 4.375 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2935, allocations: 4.375 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2937, allocations: 61.92 kB / 1.121 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2937, allocations: 0 / 1.121 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2937, allocations: 4 kB / 1.121 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2937, allocations: 0 / 1.121 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.2938, allocations: 31.97 kB / 1.121 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.2941, allocations: 216.5 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.497e-05/0.2942, allocations: 38.44 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.2943, allocations: 20.91 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.2945, allocations: 39.97 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2945, allocations: 30.56 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2945, allocations: 4 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002461/0.2948, allocations: 69.56 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2948, allocations: 51.41 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.2949, allocations: 114.1 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.2949, allocations: 25.7 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.295, allocations: 92.06 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.295, allocations: 8.047 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.295, allocations: 13.66 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2951, allocations: 322.8 kB / 1.122 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.2952, allocations: 12.11 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.013e-05/0.2952, allocations: 12 kB / 1.122 GB, free: 14.22 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.2953, allocations: 24.84 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2953, allocations: 0 / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001321/0.2954, allocations: 61.56 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2955, allocations: 4 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2955, allocations: 0 / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.2955, allocations: 8.094 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.2955, allocations: 4 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2955, allocations: 3.984 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.2956, allocations: 3.984 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2956, allocations: 4 kB / 1.122 GB, free: 14.1 MB / 1.076 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 7.712e-05/0.2957, allocations: 113.8 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.2957, allocations: 4 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.2958, allocations: 65.23 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2958, allocations: 0 / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2958, allocations: 4.031 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.2959, allocations: 0 / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.296, allocations: 113.2 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.296, allocations: 0 / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.296, allocations: 7.984 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.296, allocations: 4 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.296, allocations: 3.938 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.296, allocations: 4 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.296, allocations: 0 / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.2962, allocations: 159.4 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.2962, allocations: 0 / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2962, allocations: 3.984 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.2963, allocations: 4 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.2963, allocations: 0 / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2963, allocations: 3.938 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.2964, allocations: 95.2 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.2964, allocations: 0 / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002518/0.2966, allocations: 19.89 kB / 1.122 GB, free: 13.45 MB / 1.076 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.0001525/0.2968, allocations: 115.2 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.2969, allocations: 23.98 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2969, allocations: 0 / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/0.297, allocations: 11.98 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.2972, allocations: 3.938 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.2975, allocations: 142.7 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.074e-05/0.2975, allocations: 63.34 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.2976, allocations: 8.125 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.2976, allocations: 12.48 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.2976, allocations: 0 / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of Templates: time 0.002779/0.3004, allocations: 0.5019 MB / 1.123 GB, free: 12.51 MB / 1.076 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 -s ida -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/jenkins1/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.915856739971787]