Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002061/0.002061, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.002892/0.002892, allocations: 214.6 kB / 22.25 MB, free: 4.867 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.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.756/2.756, allocations: 475.9 MB / 0.7699 GB, free: 4.801 MB / 0.6231 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [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.00215/0.00215, allocations: 68.34 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3623, allocations: 170 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001862/0.3642, allocations: 0.5925 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.366, allocations: 1.274 MB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.366, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.366, allocations: 3.938 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.366, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.3665, allocations: 83.67 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.3665, allocations: 0 / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.3666, allocations: 3.938 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.3666, allocations: 4 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.3666, allocations: 0 / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.3666, allocations: 0 / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.367, allocations: 107.9 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.367, allocations: 4 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.449e-05/0.367, allocations: 0 / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3672, allocations: 63.88 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3672, allocations: 0 / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3672, allocations: 0 / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.3672, allocations: 0 / 1.285 GB, free: 9.734 MB / 0.9825 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.0003711/0.3675, allocations: 258.2 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3676, allocations: 8.031 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.3676, allocations: 0.9375 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.428e-05/0.3677, allocations: 110.5 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3677, allocations: 4.375 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3677, allocations: 4.359 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3678, allocations: 30.02 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3679, allocations: 8 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3679, allocations: 0 / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3679, allocations: 4 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.3679, allocations: 0 / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.368, allocations: 97.33 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.3681, allocations: 18.52 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.3681, allocations: 8.859 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.3684, allocations: 52.03 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.3685, allocations: 30.56 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.3685, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.3686, allocations: 33.64 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.3687, allocations: 55.41 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.55e-05/0.3687, allocations: 89.86 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3687, allocations: 29.64 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.3688, allocations: 80.14 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.3688, allocations: 3.953 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.3688, allocations: 21.7 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.369, allocations: 315 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.369, allocations: 0 / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-06/0.369, allocations: 4 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.348e-05/0.369, allocations: 4.859 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.369, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.136e-05/0.3691, allocations: 33.7 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3691, allocations: 4 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3691, allocations: 3.938 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3691, allocations: 3.938 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/0.3692, allocations: 20.02 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3692, allocations: 3.984 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.3692, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3692, allocations: 3.938 kB / 1.286 GB, free: 8.246 MB / 0.9825 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 7.942e-05/0.3693, allocations: 109.8 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.3693, allocations: 3.984 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.224e-05/0.3694, allocations: 40.62 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3694, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3694, allocations: 4.031 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3694, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.378e-05/0.3694, allocations: 101.3 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3694, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.285e-05/0.3695, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3695, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.3695, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3695, allocations: 3.938 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3695, allocations: 3.938 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.128e-05/0.3695, allocations: 57.12 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-06/0.3696, allocations: 4 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.3696, allocations: 4.031 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.3696, allocations: 3.938 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.3696, allocations: 4 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3696, allocations: 4 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.3696, allocations: 75.28 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3696, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002003/0.3698, allocations: 15.92 kB / 1.287 GB, free: 7.754 MB / 0.9825 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.0001779/0.37, allocations: 99.25 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.989e-05/0.3701, allocations: 15.92 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3701, allocations: 4 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/0.3701, allocations: 0 / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.3702, allocations: 0 / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.3704, allocations: 84.88 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.172e-05/0.3705, allocations: 55.36 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.764e-05/0.3705, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.3705, allocations: 7.438 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3705, allocations: 4.125 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.002658/0.3732, allocations: 389.1 kB / 1.287 GB, free: 7.051 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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: 8.859164549037814]