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.00134/0.00134, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00151/0.00151, allocations: 173 kB / 24.28 MB, free: 280 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.6 MB, free: 5.648 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.765/1.765, allocations: 359 MB / 0.6055 GB, free: 11 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.502e-06/1.502e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.432e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001137/0.001161, allocations: 0.6052 MB / 0.7877 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.002596, allocations: 1.321 MB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.002619, allocations: 0.6562 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.002636, allocations: 0 / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.002643, allocations: 3.281 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.003012, allocations: 75.67 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.568e-05/0.003058, allocations: 0 / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.003096, allocations: 4 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.003121, allocations: 0 / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.003162, allocations: 0 / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.003175, allocations: 0 / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.003431, allocations: 112.8 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.003441, allocations: 0 / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.003459, allocations: 3.938 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.003604, allocations: 76.39 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.003606, allocations: 0 / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003607, allocations: 1.375 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.003612, allocations: 0 / 0.7893 GB, free: 10.57 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.0002951/0.003907, allocations: 352.2 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.003947, allocations: 9.562 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.003986, allocations: 0.9375 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.082e-05/0.004067, allocations: 116.6 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.004079, allocations: 384 / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.00409, allocations: 1.875 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.004192, allocations: 30.25 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.0042, allocations: 4.188 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004211, allocations: 384 / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.004221, allocations: 4.5 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.837e-05/0.00424, allocations: 2.031 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.004368, allocations: 108.6 kB / 0.7899 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.148e-05/0.00441, allocations: 27 kB / 0.7899 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.004429, allocations: 7.688 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.004706, allocations: 45.3 kB / 0.79 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.00473, allocations: 37.39 kB / 0.79 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.004731, allocations: 1.469 kB / 0.79 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.004864, allocations: 33.7 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.004894, allocations: 59.28 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.934e-05/0.004933, allocations: 142.9 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.004941, allocations: 26.7 kB / 0.7903 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.004969, allocations: 130.8 kB / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.004996, allocations: 0 / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.005019, allocations: 28.11 kB / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.005128, allocations: 492.1 kB / 0.7909 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.005137, allocations: 0.625 kB / 0.7909 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.005144, allocations: 5.312 kB / 0.7909 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.005172, allocations: 7.688 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005174, allocations: 4 kB / 0.7909 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.655e-05/0.00521, allocations: 31.2 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.005223, allocations: 4 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005228, allocations: 3.938 kB / 0.7909 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.005241, allocations: 0.9062 kB / 0.7909 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.005283, allocations: 7.984 kB / 0.7909 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.005289, allocations: 3.938 kB / 0.791 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.484e-06/0.005296, allocations: 0.8438 kB / 0.791 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.0053, allocations: 0 / 0.791 GB, free: 8.695 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.056e-05/0.005361, allocations: 162.7 kB / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-06/0.005365, allocations: 352 / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/0.005437, allocations: 40.67 kB / 0.7911 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005438, allocations: 2.625 kB / 0.7911 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.005443, allocations: 4 kB / 0.7912 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.005448, allocations: 7.922 kB / 0.7912 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.486e-05/0.005503, allocations: 108.6 kB / 0.7913 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005504, allocations: 0 / 0.7913 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.005512, allocations: 4 kB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005513, allocations: 0 / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.005518, allocations: 1.656 kB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.005521, allocations: 7.938 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005522, allocations: 0 / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.075e-05/0.005572, allocations: 76.38 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-06/0.005576, allocations: 0.5 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-06/0.005584, allocations: 0.5625 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-06/0.005588, allocations: 0 / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.005602, allocations: 5.5 kB / 0.7914 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.005604, allocations: 0 / 0.7914 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.168e-05/0.005635, allocations: 123.1 kB / 0.7915 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005635, allocations: 3.938 kB / 0.7915 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000138/0.005773, allocations: 16.42 kB / 0.7915 GB, free: 8.074 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.0001238/0.005897, allocations: 112.3 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.651e-05/0.005964, allocations: 20.27 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005965, allocations: 0 / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-06/0.005974, allocations: 12.59 kB / 0.7916 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.096e-05/0.006065, allocations: 3.812 kB / 0.7916 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.00625, allocations: 87.95 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.845e-05/0.006278, allocations: 51.36 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.6e-05/0.006294, allocations: 3.984 kB / 0.7918 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.006308, allocations: 8.5 kB / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.006308, allocations: 0 / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of Templates: time 0.001939/0.008247, allocations: 422.6 kB / 0.7922 GB, free: 7.32 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: 5.027007468044758]