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.0009336/0.0009336, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000799/0.000799, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8891/0.8891, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.766/1.766, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.854e-06/1.854e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.374e-05, allocations: 6.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00284/0.002874, allocations: 1.503 MB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004124, allocations: 0.6978 MB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.004194, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.004232, allocations: 3.938 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.282e-05/0.004285, allocations: 11.88 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.004747, allocations: 103.5 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.004864, allocations: 35.86 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004973, allocations: 11.98 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.005125, allocations: 27.97 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.005201, allocations: 15.92 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.005219, allocations: 4 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.005464, allocations: 103.9 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.005487, allocations: 15.97 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.005513, allocations: 11.94 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.005752, allocations: 115.6 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.005757, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.525e-06/0.00576, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.005766, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 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.0004684/0.006234, allocations: 294 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.006276, allocations: 8.75 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.006431, allocations: 16.92 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.006675, allocations: 125.7 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.006686, allocations: 384 / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.006698, allocations: 4.375 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.006846, allocations: 54.23 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.006854, allocations: 192 / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.006864, allocations: 384 / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.00687, allocations: 7.875 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.006957, allocations: 31.98 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.007273, allocations: 216.5 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/0.007357, allocations: 38.45 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.007395, allocations: 16.91 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.007606, allocations: 39.97 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.007633, allocations: 38.56 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.007635, allocations: 4 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002329/0.007867, allocations: 57.67 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.007901, allocations: 51.41 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.007985, allocations: 117.8 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.008007, allocations: 29.64 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.008062, allocations: 100 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.008082, allocations: 7.891 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.008115, allocations: 13.72 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.008217, allocations: 319 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-05/0.008251, allocations: 11.98 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.008279, allocations: 8 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/0.008346, allocations: 24.84 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008349, allocations: 0 / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.008466, allocations: 65.56 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.008479, allocations: 4 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.008485, allocations: 4.094 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.008499, allocations: 0 / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.008561, allocations: 7.938 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.008567, allocations: 3.984 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.008591, allocations: 7.984 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.008598, allocations: 0 / 1.005 GB, free: 8.469 MB / 0.9636 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.618e-05/0.008674, allocations: 113.8 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.008702, allocations: 7.922 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.008867, allocations: 57.3 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008869, allocations: 4.031 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.008874, allocations: 4 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.008876, allocations: 0 / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.009062, allocations: 113.3 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009064, allocations: 0 / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.009104, allocations: 11.92 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009106, allocations: 0 / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.009113, allocations: 0 / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.009117, allocations: 3.938 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.00912, allocations: 4 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.009272, allocations: 151.5 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.009283, allocations: 7.938 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.009298, allocations: 7.984 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.168e-05/0.009349, allocations: 384 / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.009379, allocations: 4 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.009383, allocations: 0 / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.00943, allocations: 95.2 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.00943, allocations: 3.938 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002703/0.009701, allocations: 11.94 kB / 1.006 GB, free: 7.812 MB / 0.9636 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.0001912/0.009892, allocations: 111.3 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01001, allocations: 27.92 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01001, allocations: 0 / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.01005, allocations: 15.98 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.01028, allocations: 0 / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.01061, allocations: 154.5 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.203e-05/0.01068, allocations: 71.47 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.0107, allocations: 16.48 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of SimCode: time 7.92e-07/0.01071, allocations: 0 / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of Templates: time 0.002243/0.01295, allocations: 0.8122 MB / 1.007 GB, free: 6.551 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.390949453227222]