Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.0007431/0.0007431, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001818, 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.0007305/0.0007305, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009482/0.001679, 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.9872/0.9872, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1254/1.113, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.485/2.485, allocations: 447.1 MB / 0.675 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2323/2.717, allocations: 146 MB / 0.8176 GB, free: 3.773 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.819 GB, free: 2.383 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.172e-05, allocations: 6.312 kB / 0.819 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00179/0.001812, allocations: 0.6424 MB / 0.8196 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.003317, allocations: 1.334 MB / 0.8209 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.003327, allocations: 0 / 0.8209 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.278e-06/0.003332, allocations: 4 kB / 0.8209 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.292e-06/0.003333, allocations: 0 / 0.8209 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.003546, allocations: 59.69 kB / 0.821 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.185e-05/0.003587, allocations: 4 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.003624, allocations: 3.938 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.003657, allocations: 0 / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.003713, allocations: 4 kB / 0.821 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.003724, allocations: 0 / 0.821 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.004015, allocations: 115.9 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.004027, allocations: 4 kB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.025e-05/0.004037, allocations: 4 kB / 0.8211 GB, free: 184 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.004195, allocations: 67.77 kB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.004207, allocations: 0 / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004207, allocations: 3.938 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.004222, allocations: 0 / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003025/0.004525, allocations: 236.5 kB / 0.8214 GB, free: 15.86 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.004558, allocations: 12.03 kB / 0.8214 GB, free: 15.84 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.004588, allocations: 0.9375 kB / 0.8214 GB, free: 15.84 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.098e-05/0.004659, allocations: 105.8 kB / 0.8215 GB, free: 15.71 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.004668, allocations: 384 / 0.8215 GB, free: 15.71 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.004677, allocations: 4.375 kB / 0.8215 GB, free: 15.71 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.114e-05/0.004758, allocations: 34.25 kB / 0.8216 GB, free: 15.67 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004765, allocations: 192 / 0.8216 GB, free: 15.67 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.004771, allocations: 384 / 0.8216 GB, free: 15.67 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.004778, allocations: 3.938 kB / 0.8216 GB, free: 15.67 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.401e-05/0.004792, allocations: 7.922 kB / 0.8216 GB, free: 15.66 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.295e-05/0.004865, allocations: 57.05 kB / 0.8216 GB, free: 15.59 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 3.55e-05/0.004901, allocations: 18.61 kB / 0.8216 GB, free: 15.56 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.004915, allocations: 4.859 kB / 0.8216 GB, free: 15.55 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.005167, allocations: 52.02 kB / 0.8217 GB, free: 15.5 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.005191, allocations: 34.55 kB / 0.8217 GB, free: 15.46 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.005193, allocations: 0 / 0.8217 GB, free: 15.46 MB / 0.8074 GB Notification: Performance of matching and sorting (n=1): time 8.875e-05/0.005281, allocations: 33.64 kB / 0.8218 GB, free: 15.42 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.00531, allocations: 51.41 kB / 0.8218 GB, free: 15.36 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.049e-05/0.00534, allocations: 89.86 kB / 0.8219 GB, free: 15.26 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.005351, allocations: 29.7 kB / 0.8219 GB, free: 15.23 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.005373, allocations: 80.14 kB / 0.822 GB, free: 15.14 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.005397, allocations: 4.125 kB / 0.822 GB, free: 15.14 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.005422, allocations: 13.72 kB / 0.822 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.005512, allocations: 326.8 kB / 0.8223 GB, free: 14.79 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/0.005518, allocations: 0 / 0.8223 GB, free: 14.79 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-06/0.005524, allocations: 4 kB / 0.8223 GB, free: 14.79 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.005555, allocations: 8.859 kB / 0.8223 GB, free: 14.78 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005557, allocations: 0 / 0.8223 GB, free: 14.78 MB / 0.8074 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.33e-05/0.0056, allocations: 33.64 kB / 0.8224 GB, free: 14.74 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.005611, allocations: 7.938 kB / 0.8224 GB, free: 14.73 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.005615, allocations: 4.094 kB / 0.8224 GB, free: 14.73 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.005628, allocations: 4 kB / 0.8224 GB, free: 14.72 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.87e-05/0.005666, allocations: 3.984 kB / 0.8224 GB, free: 14.72 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.005669, allocations: 0 / 0.8224 GB, free: 14.72 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.507e-06/0.005678, allocations: 0 / 0.8224 GB, free: 14.72 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.005688, allocations: 3.938 kB / 0.8224 GB, free: 14.71 MB / 0.8074 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 (1): * Single equations (assignments): 1 * 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 5.143e-05/0.00574, allocations: 109.8 kB / 0.8225 GB, free: 14.6 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-06/0.005745, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.815e-05/0.005813, allocations: 44.67 kB / 0.8225 GB, free: 14.55 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005815, allocations: 3.938 kB / 0.8225 GB, free: 14.55 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.005816, allocations: 0 / 0.8225 GB, free: 14.55 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005819, allocations: 0 / 0.8225 GB, free: 14.55 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.103e-05/0.00591, allocations: 69.84 kB / 0.8226 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005911, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.005923, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.005928, allocations: 4 kB / 0.8226 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005929, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.005932, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005933, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.005935, allocations: 4.016 kB / 0.8226 GB, free: 14.45 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.438e-05/0.00599, allocations: 65.06 kB / 0.8227 GB, free: 14.37 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-06/0.005996, allocations: 0 / 0.8227 GB, free: 14.37 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.006003, allocations: 0 / 0.8227 GB, free: 14.37 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-06/0.006012, allocations: 0 / 0.8227 GB, free: 14.37 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.006014, allocations: 0 / 0.8227 GB, free: 14.37 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 7.033e-06/0.006021, allocations: 4.859 kB / 0.8227 GB, free: 14.36 MB / 0.8074 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006021, allocations: 3.938 kB / 0.8227 GB, free: 14.36 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0001793/0.0062, allocations: 15.92 kB / 0.8227 GB, free: 14.34 MB / 0.8074 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 (1): * Single equations (assignments): 1 * 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.0001324/0.006333, allocations: 96.44 kB / 0.8228 GB, free: 14.24 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 5.352e-05/0.006386, allocations: 8.797 kB / 0.8228 GB, free: 14.23 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.006391, allocations: 8 kB / 0.8228 GB, free: 14.22 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.006402, allocations: 4.859 kB / 0.8228 GB, free: 14.21 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.995e-05/0.006462, allocations: 11.88 kB / 0.8228 GB, free: 14.2 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00016/0.006622, allocations: 86.14 kB / 0.8229 GB, free: 14.09 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.914e-05/0.006651, allocations: 51.36 kB / 0.823 GB, free: 14.02 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 1.935e-05/0.00667, allocations: 4.188 kB / 0.823 GB, free: 14.01 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.006717, allocations: 51.38 kB / 0.823 GB, free: 13.96 MB / 0.8074 GB Notification: Performance of SimCode: time 4.81e-07/0.006717, allocations: 0 / 0.823 GB, free: 13.96 MB / 0.8074 GB Notification: Performance of Templates: time 0.002082/0.008799, allocations: 483.5 kB / 0.8235 GB, free: 13.49 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.289365309290588]