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.002179/0.002179, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00268/0.00268, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.475/1.475, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.704/2.704, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.763e-06/1.763e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.795e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001689/0.001717, allocations: 0.6027 MB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.003765, allocations: 1.279 MB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.00378, allocations: 0 / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.003792, allocations: 0 / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-06/0.003798, allocations: 0.5312 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.004221, allocations: 72.72 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.961e-05/0.004261, allocations: 11.92 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.003e-05/0.004291, allocations: 1.875 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.004312, allocations: 4 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.004359, allocations: 7.922 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.004369, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.004683, allocations: 107.9 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.004691, allocations: 0.7188 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.004712, allocations: 3.984 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.004883, allocations: 64.64 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.004886, allocations: 0 / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.547e-06/0.004889, allocations: 5.25 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.004893, allocations: 0 / 0.7885 GB, free: 10.6 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.0003467/0.005239, allocations: 258.2 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.005286, allocations: 8.031 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.005326, allocations: 2.344 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.639e-05/0.005422, allocations: 101.8 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.005435, allocations: 4.375 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-06/0.005442, allocations: 1.438 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.134e-05/0.005533, allocations: 38.17 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005541, allocations: 192 / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.005548, allocations: 1.875 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005554, allocations: 3.938 kB / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.716e-05/0.005571, allocations: 4 kB / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.005706, allocations: 97.33 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.005753, allocations: 24.14 kB / 0.7891 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.005773, allocations: 4.859 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/0.006113, allocations: 45.69 kB / 0.7891 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.00615, allocations: 34.55 kB / 0.7891 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.006151, allocations: 0 / 0.7891 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.006302, allocations: 40.23 kB / 0.7892 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.006357, allocations: 55.34 kB / 0.7892 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/0.006416, allocations: 89.86 kB / 0.7893 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.006434, allocations: 25.7 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.00648, allocations: 80.14 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.006504, allocations: 0 / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.006538, allocations: 14.34 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003891/0.006927, allocations: 314.8 kB / 0.7897 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.006938, allocations: 1.656 kB / 0.7897 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.006946, allocations: 7.938 kB / 0.7897 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.006988, allocations: 8.859 kB / 0.7897 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00699, allocations: 0.5312 kB / 0.7897 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.822e-05/0.007058, allocations: 35.02 kB / 0.7898 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.007072, allocations: 4 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.007076, allocations: 0 / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.007093, allocations: 1.156 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.373e-05/0.007137, allocations: 4 kB / 0.7898 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.007144, allocations: 3.938 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.007155, allocations: 1.375 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.007163, allocations: 3.984 kB / 0.7898 GB, free: 9.148 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 8.83e-05/0.007251, allocations: 113.8 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.007259, allocations: 1.75 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.007362, allocations: 40.69 kB / 0.7899 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.007364, allocations: 0 / 0.7899 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.007368, allocations: 4.594 kB / 0.7899 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.007374, allocations: 7.922 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.392e-05/0.007468, allocations: 98.27 kB / 0.7901 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007469, allocations: 0 / 0.7901 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.007489, allocations: 5.938 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007491, allocations: 0 / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.007495, allocations: 0 / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007497, allocations: 3.938 kB / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007497, allocations: 0 / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.554e-05/0.007593, allocations: 71.16 kB / 0.7901 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-06/0.0076, allocations: 3.953 kB / 0.7901 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.007609, allocations: 0 / 0.7901 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.007622, allocations: 4 kB / 0.7901 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.007633, allocations: 0 / 0.7901 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.007636, allocations: 0 / 0.7901 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.007683, allocations: 83.75 kB / 0.7902 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007683, allocations: 0.7188 kB / 0.7902 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002128/0.007896, allocations: 8 kB / 0.7902 GB, free: 8.652 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.0001966/0.008093, allocations: 117.2 kB / 0.7903 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.321e-05/0.008156, allocations: 8 kB / 0.7903 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.008158, allocations: 0 / 0.7903 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.468e-05/0.008172, allocations: 12.83 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.008303, allocations: 1.547 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.008519, allocations: 75.19 kB / 0.7904 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.008574, allocations: 55.36 kB / 0.7905 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.766e-05/0.008592, allocations: 1.312 kB / 0.7905 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.008615, allocations: 9 kB / 0.7905 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.008616, allocations: 0 / 0.7905 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.003015/0.01163, allocations: 421.1 kB / 0.7909 GB, free: 7.938 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.47000965103507]