Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.103/3.103, allocations: 496 MB / 0.7835 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 71.36 kB / 1.138 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 173.6 MB / 1.307 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002015/0.3455, allocations: 0.5906 MB / 1.308 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3473, allocations: 1.276 MB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.3473, allocations: 0 / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.3473, allocations: 0 / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-06/0.3473, allocations: 0 / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.3477, allocations: 63.75 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.672e-05/0.3478, allocations: 8 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.3478, allocations: 0 / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.3479, allocations: 0 / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.3479, allocations: 8 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.3479, allocations: 0 / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.3482, allocations: 91.89 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.3482, allocations: 4 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.3482, allocations: 3.938 kB / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.3484, allocations: 51.88 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3484, allocations: 0 / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3484, allocations: 0 / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.3484, allocations: 7.984 kB / 1.309 GB, free: 15.66 MB / 1.014 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.0003712/0.3488, allocations: 250.3 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3488, allocations: 8.922 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.3488, allocations: 0.9375 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.349, allocations: 110.5 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.349, allocations: 384 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.349, allocations: 8.359 kB / 1.31 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.3491, allocations: 30.02 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3492, allocations: 4 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3492, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3492, allocations: 0 / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.3492, allocations: 7.938 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.3494, allocations: 120.8 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.635e-05/0.3494, allocations: 22.55 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.3494, allocations: 4.859 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003731/0.3498, allocations: 40.03 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3498, allocations: 34.5 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.3498, allocations: 0 / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001818/0.35, allocations: 37.7 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3501, allocations: 51.41 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.3501, allocations: 93.84 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3501, allocations: 29.83 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.3502, allocations: 80.14 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.3502, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.3503, allocations: 17.66 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3505, allocations: 318.8 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.3505, allocations: 0 / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.3505, allocations: 4 kB / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.3505, allocations: 4.922 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3505, allocations: 4 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.788e-05/0.3506, allocations: 37.69 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3506, allocations: 7.938 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3506, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.3506, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.059e-05/0.3506, allocations: 4 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3506, allocations: 3.938 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.3507, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3507, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 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.812e-05/0.3507, allocations: 114.6 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.3508, allocations: 11.94 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.3508, allocations: 36.69 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3508, allocations: 4 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3508, allocations: 0 / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.3509, allocations: 0 / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.351, allocations: 116.8 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.351, allocations: 32 / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.351, allocations: 7.984 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.351, allocations: 3.938 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.351, allocations: 4 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.351, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.351, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.3511, allocations: 57.08 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.3511, allocations: 4 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3511, allocations: 15.89 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.3511, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.3511, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.3511, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.3512, allocations: 75.28 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3512, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002106/0.3514, allocations: 15.94 kB / 1.311 GB, free: 13.64 MB / 1.014 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.0001626/0.3515, allocations: 107.2 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.556e-05/0.3516, allocations: 15.92 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3516, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-06/0.3516, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.3517, allocations: 4 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.352, allocations: 82.14 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3523, allocations: 0.669 MB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.3523, allocations: 12.11 kB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.3523, allocations: 11.42 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.3523, allocations: 0 / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of Templates: time 0.002724/0.355, allocations: 300.7 kB / 1.312 GB, free: 12.39 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.785900660790503]