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.000936/0.000936, allocations: 78.66 kB / 20.68 MB, free: 3.824 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.0009523/0.0009523, allocations: 180.9 kB / 24.09 MB, free: 424 kB / 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 1.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.766/1.766, allocations: 359 MB / 0.6055 GB, free: 10.84 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.481e-05, allocations: 6.094 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002105/0.00214, allocations: 0.5936 MB / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.003587, allocations: 1.314 MB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.003607, allocations: 7.938 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.003623, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.003629, allocations: 3.938 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.003956, allocations: 69.25 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.899e-05/0.003995, allocations: 7.984 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.004028, allocations: 0 / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.004055, allocations: 0.5 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.004099, allocations: 4 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.004109, allocations: 1.219 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.004346, allocations: 103.9 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.004356, allocations: 0 / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.096e-05/0.004367, allocations: 6.125 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.00449, allocations: 75.72 kB / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004493, allocations: 0 / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004494, allocations: 0 / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004498, allocations: 0 / 0.7897 GB, free: 9.934 MB / 0.7448 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.0002524/0.00475, allocations: 362.3 kB / 0.7901 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.004791, allocations: 12.03 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.004814, allocations: 0.9375 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.615e-05/0.00487, allocations: 108.6 kB / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.004879, allocations: 384 / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-06/0.004884, allocations: 384 / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.902e-05/0.004943, allocations: 30.8 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.004949, allocations: 1.844 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.004955, allocations: 384 / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.004961, allocations: 3.938 kB / 0.7902 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-06/0.004971, allocations: 0 / 0.7902 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.151e-05/0.005062, allocations: 97.91 kB / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.005098, allocations: 31 kB / 0.7904 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.005111, allocations: 12.88 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.005327, allocations: 37.12 kB / 0.7904 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.005351, allocations: 37.39 kB / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.005353, allocations: 1.375 kB / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.005459, allocations: 29.7 kB / 0.7905 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.005488, allocations: 55.39 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.234e-05/0.00553, allocations: 144 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.005541, allocations: 33.64 kB / 0.7907 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.005573, allocations: 126.9 kB / 0.7908 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.0056, allocations: 0 / 0.7908 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.005629, allocations: 16.38 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.005751, allocations: 0.4883 MB / 0.7913 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-06/0.005758, allocations: 0 / 0.7913 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.005764, allocations: 4.531 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.005791, allocations: 24.86 kB / 0.7913 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.005792, allocations: 0 / 0.7913 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.119e-05/0.005834, allocations: 36.78 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.005845, allocations: 4 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005849, allocations: 4 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.005861, allocations: 0 / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.726e-05/0.005898, allocations: 3.938 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.005903, allocations: 3.984 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-06/0.005911, allocations: 3.938 kB / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.005917, allocations: 4 kB / 0.7914 GB, free: 8.062 MB / 0.7448 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 6.085e-05/0.005978, allocations: 153.1 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-06/0.005982, allocations: 2.281 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.006062, allocations: 44.69 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.006064, allocations: 3.984 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.006066, allocations: 2.531 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.006069, allocations: 0 / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.047e-05/0.006129, allocations: 97.16 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.00613, allocations: 0 / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-06/0.006139, allocations: 4 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.00614, allocations: 0 / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.006144, allocations: 0 / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006145, allocations: 4.703 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006147, allocations: 3.938 kB / 0.7917 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.466e-05/0.006192, allocations: 69.23 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-06/0.006194, allocations: 0.8438 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-06/0.006201, allocations: 0 / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-06/0.006204, allocations: 4 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-06/0.006214, allocations: 5.266 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.006216, allocations: 0 / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.504e-05/0.006251, allocations: 119.2 kB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006251, allocations: 0.8438 kB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001195/0.00637, allocations: 11.94 kB / 0.7919 GB, free: 7.488 MB / 0.7448 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.0001345/0.006505, allocations: 112.2 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.272e-05/0.006557, allocations: 21.06 kB / 0.792 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.006559, allocations: 0 / 0.792 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-06/0.006565, allocations: 11.69 kB / 0.792 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.319e-05/0.006649, allocations: 7.094 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001413/0.00679, allocations: 87.94 kB / 0.7921 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.649e-05/0.006816, allocations: 59.36 kB / 0.7922 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.521e-05/0.006831, allocations: 2.125 kB / 0.7922 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.00688, allocations: 70.2 kB / 0.7923 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/0.00688, allocations: 0 / 0.7923 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of Templates: time 0.001786/0.008667, allocations: 472.6 kB / 0.7927 GB, free: 6.613 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.873194202780724]