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.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.001215/0.001215, allocations: 76.55 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.001513/0.001513, allocations: 181.9 kB / 23.22 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.9237/0.9237, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.717/1.717, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_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 1.913e-06/1.913e-06, allocations: 0 / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.237e-05, allocations: 6.219 kB / 0.9823 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002017/0.002049, allocations: 0.5871 MB / 0.9828 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.003907, allocations: 1.287 MB / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.003928, allocations: 0 / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.003946, allocations: 0 / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.735e-06/0.003954, allocations: 0 / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.004423, allocations: 71.67 kB / 0.9842 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.004479, allocations: 4 kB / 0.9842 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.00453, allocations: 4 kB / 0.9842 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.937e-05/0.004559, allocations: 4 kB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.004606, allocations: 4 kB / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.004623, allocations: 0 / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.004974, allocations: 115.7 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.004985, allocations: 4 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.005003, allocations: 0 / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.005181, allocations: 63.86 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.005186, allocations: 0 / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.005187, allocations: 0 / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.005192, allocations: 0 / 0.9843 GB, free: 15.87 MB / 0.948 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.0003125/0.005505, allocations: 254.3 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.005547, allocations: 16.03 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.005591, allocations: 0.9375 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.178e-05/0.005663, allocations: 101.8 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.005676, allocations: 384 / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.005685, allocations: 384 / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.005785, allocations: 38.19 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.005793, allocations: 192 / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.005801, allocations: 384 / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005808, allocations: 3.938 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.00583, allocations: 4 kB / 0.9847 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.005955, allocations: 105.3 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.439e-05/0.006, allocations: 18.61 kB / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.006016, allocations: 4.859 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003341/0.00635, allocations: 47.95 kB / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.006378, allocations: 34.56 kB / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.006379, allocations: 0 / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.000154/0.006533, allocations: 33.64 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.006572, allocations: 63.47 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.334e-05/0.006605, allocations: 89.86 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006618, allocations: 29.64 kB / 0.9852 GB, free: 14.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/0.006642, allocations: 80.14 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.006673, allocations: 4 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.006704, allocations: 13.7 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.006801, allocations: 310.8 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.006817, allocations: 8 kB / 0.9855 GB, free: 14.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.006827, allocations: 3.938 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.006859, allocations: 12.86 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006862, allocations: 4.062 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.149e-05/0.006923, allocations: 29.7 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.006939, allocations: 4 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.006945, allocations: 4 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.006959, allocations: 0 / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.007017, allocations: 3.984 kB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.007023, allocations: 3.938 kB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.007034, allocations: 0 / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.007041, allocations: 4 kB / 0.9856 GB, free: 14.39 MB / 0.948 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.778e-05/0.007109, allocations: 113.8 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-06/0.007114, allocations: 0 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.579e-05/0.00721, allocations: 48.62 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007213, allocations: 0 / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.007217, allocations: 0 / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.007221, allocations: 3.938 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.934e-05/0.007291, allocations: 93.33 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.007293, allocations: 0 / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.007313, allocations: 4 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.007315, allocations: 4.031 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.00732, allocations: 0 / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007322, allocations: 0 / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.007323, allocations: 0 / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.568e-05/0.007399, allocations: 69 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-06/0.007404, allocations: 0 / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007415, allocations: 4 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.007423, allocations: 3.938 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.007437, allocations: 0 / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.00744, allocations: 0 / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.78e-05/0.007468, allocations: 83.25 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.007468, allocations: 4.031 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002475/0.007715, allocations: 11.98 kB / 0.986 GB, free: 13.9 MB / 0.948 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.0002025/0.007918, allocations: 111.7 kB / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.031e-05/0.007998, allocations: 7.984 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.008001, allocations: 0 / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.008009, allocations: 15.88 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.008172, allocations: 4.922 kB / 0.9862 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.008405, allocations: 98.72 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.008451, allocations: 67.33 kB / 0.9863 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.00847, allocations: 8.5 kB / 0.9863 GB, free: 13.54 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.008471, allocations: 0 / 0.9863 GB, free: 13.54 MB / 0.948 GB Notification: Performance of Templates: time 0.001976/0.01045, allocations: 0.5152 MB / 0.9868 GB, free: 13.02 MB / 0.948 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: 6.4776214910671115]