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.001116/0.001116, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001777/0.002893, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001098/0.001098, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002652, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9897/0.9897, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09141/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.497/2.497, allocations: 447.1 MB / 0.675 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2482/2.745, allocations: 146 MB / 0.8176 GB, free: 3.867 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.475e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003108/0.003133, allocations: 1.6 MB / 0.8205 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004311, allocations: 0.728 MB / 0.8212 GB, free: 172 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.004368, allocations: 0 / 0.8212 GB, free: 172 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.004395, allocations: 7.938 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.004432, allocations: 7.922 kB / 0.8212 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.004783, allocations: 87.55 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.004887, allocations: 43.84 kB / 0.8214 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.004973, allocations: 11.92 kB / 0.8214 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.005132, allocations: 39.91 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.005187, allocations: 11.98 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.005203, allocations: 4 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.00546, allocations: 119.8 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.005481, allocations: 11.94 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.0055, allocations: 8 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.005709, allocations: 87.73 kB / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.005722, allocations: 0 / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005723, allocations: 0 / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.005738, allocations: 0 / 0.8216 GB, free: 15.73 MB / 0.8073 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.0004367/0.006175, allocations: 288.2 kB / 0.8219 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.006215, allocations: 12.03 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.006412, allocations: 94.03 kB / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.006581, allocations: 129.7 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.006591, allocations: 384 / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.006605, allocations: 4.375 kB / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.006724, allocations: 54.95 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.006733, allocations: 192 / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.006741, allocations: 384 / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.006749, allocations: 3.938 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.006777, allocations: 11.98 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.007044, allocations: 164.1 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.007096, allocations: 22.58 kB / 0.8224 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.007113, allocations: 12.86 kB / 0.8224 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.007288, allocations: 36.02 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.007316, allocations: 42.5 kB / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.007317, allocations: 0 / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001332/0.007451, allocations: 41.62 kB / 0.8225 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.007478, allocations: 55.41 kB / 0.8226 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.405e-05/0.007552, allocations: 110.8 kB / 0.8227 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.007567, allocations: 29.83 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.007604, allocations: 92.08 kB / 0.8228 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.007622, allocations: 7.953 kB / 0.8228 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.007652, allocations: 13.7 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.007752, allocations: 318.8 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.007763, allocations: 0 / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-06/0.007771, allocations: 0 / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.007806, allocations: 24.78 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007808, allocations: 0 / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.337e-05/0.007871, allocations: 33.64 kB / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.007889, allocations: 12.09 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.007894, allocations: 0 / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.007908, allocations: 0 / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.007976, allocations: 11.92 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.00798, allocations: 3.984 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.008001, allocations: 4 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.008008, allocations: 0 / 0.8232 GB, free: 13.96 MB / 0.8073 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 6.501e-05/0.008073, allocations: 105.8 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.008099, allocations: 15.86 kB / 0.8233 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.008217, allocations: 45.31 kB / 0.8234 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.00822, allocations: 3.984 kB / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.008222, allocations: 4 kB / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008225, allocations: 0 / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.008357, allocations: 69.88 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.008361, allocations: 4 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.008405, allocations: 4 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.008412, allocations: 0 / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.008416, allocations: 3.938 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.008422, allocations: 0 / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.008423, allocations: 0 / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.008425, allocations: 8.031 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.008532, allocations: 131.5 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.008544, allocations: 3.984 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.493e-05/0.008599, allocations: 3.938 kB / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.008627, allocations: 8 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.008632, allocations: 0 / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.053e-05/0.008652, allocations: 12.84 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.008652, allocations: 4 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002279/0.00888, allocations: 11.94 kB / 0.8236 GB, free: 13.47 MB / 0.8073 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.0001852/0.009065, allocations: 100.4 kB / 0.8237 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.00914, allocations: 12.86 kB / 0.8237 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.009146, allocations: 3.938 kB / 0.8237 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.009175, allocations: 16.78 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.009352, allocations: 8 kB / 0.8238 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.01029, allocations: 140.5 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.199e-05/0.01033, allocations: 55.41 kB / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.874e-05/0.01036, allocations: 8 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.0104, allocations: 47.39 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.0104, allocations: 0 / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.00277/0.01317, allocations: 0.5964 MB / 0.8246 GB, free: 12.43 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.Splice/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.274232083000243]