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.0008619/0.0008619, allocations: 76.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.0008143/0.0008143, allocations: 173.9 kB / 23.21 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.8768/0.8768, allocations: 177.2 MB / 203.5 MB, free: 5.684 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.81/1.81, allocations: 389 MB / 0.6338 GB, free: 12.69 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.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 3.026e-06/3.026e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.985e-05/4.287e-05, allocations: 6.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002016/0.002059, allocations: 0.5876 MB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.004383, allocations: 1.276 MB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.004406, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.004427, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-06/0.004436, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.004933, allocations: 83.55 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.76e-05/0.005, allocations: 0 / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.442e-05/0.005065, allocations: 3.984 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.005107, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.005159, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.005174, allocations: 0 / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.005549, allocations: 107.9 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.005562, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.005583, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.005767, allocations: 75.83 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.005772, allocations: 0 / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/0.005774, allocations: 3.938 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.005781, allocations: 4 kB / 1.003 GB, free: 10.77 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003591/0.00614, allocations: 250.2 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.006201, allocations: 12.75 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.006248, allocations: 4.938 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.421e-05/0.006332, allocations: 105.7 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.006347, allocations: 384 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.006359, allocations: 4.375 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.006474, allocations: 30.27 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.006484, allocations: 192 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.006497, allocations: 384 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.006505, allocations: 3.938 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.006534, allocations: 7.984 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.006678, allocations: 93.33 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.006741, allocations: 26.55 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.006765, allocations: 8.859 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/0.007127, allocations: 40.03 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.007161, allocations: 38.56 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.007162, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.007333, allocations: 33.69 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.007372, allocations: 55.34 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.158e-05/0.007403, allocations: 93.98 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.007416, allocations: 25.7 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.00744, allocations: 84.14 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.007475, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.0075, allocations: 17.59 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.007592, allocations: 318.8 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.007602, allocations: 0 / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.007609, allocations: 0 / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.007638, allocations: 12.84 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.007641, allocations: 0 / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.735e-05/0.007688, allocations: 33.77 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.007703, allocations: 11.94 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.007709, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.007722, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.007777, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.007789, allocations: 11.86 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.0078, allocations: 7.953 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.007806, allocations: 0 / 1.004 GB, free: 9.297 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 (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.134e-05/0.007877, allocations: 113.8 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-06/0.007881, allocations: 32 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.007989, allocations: 40.7 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.007992, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.007998, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.008002, allocations: 3.938 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.754e-05/0.008059, allocations: 97.31 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008061, allocations: 4 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.008073, allocations: 0 / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.008075, allocations: 0 / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.008082, allocations: 8.031 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.008083, allocations: 0 / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008084, allocations: 0 / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.813e-05/0.008142, allocations: 65.03 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.008148, allocations: 4 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.008157, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-06/0.008162, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.008177, allocations: 3.984 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.00818, allocations: 0 / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.008207, allocations: 83.22 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008207, allocations: 0 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001478/0.008354, allocations: 12.03 kB / 1.005 GB, free: 8.805 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 (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.0001962/0.008551, allocations: 115.2 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.008631, allocations: 4 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.008633, allocations: 0 / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/0.008638, allocations: 7.938 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.008753, allocations: 6 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.009005, allocations: 114.6 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.572e-05/0.00905, allocations: 55.36 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.009071, allocations: 12.62 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of SimCode: time 7.02e-07/0.009071, allocations: 0 / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of Templates: time 0.001863/0.01093, allocations: 0.5152 MB / 1.006 GB, free: 7.922 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.601236949674785]