Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Splice.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.0009298/0.0009298, allocations: 72.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.001099/0.001099, allocations: 177.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.8851/0.8851, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.711/1.711, allocations: 377.8 MB / 0.6228 GB, free: 8.641 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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9822 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.895e-05, allocations: 6.281 kB / 0.9822 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001812/0.001831, allocations: 1.509 MB / 0.9837 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.002679, allocations: 0.6893 MB / 0.9843 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.002733, allocations: 4 kB / 0.9843 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.002761, allocations: 3.938 kB / 0.9844 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.794e-05/0.002809, allocations: 15.86 kB / 0.9844 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.003148, allocations: 91.66 kB / 0.9845 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.003245, allocations: 39.84 kB / 0.9845 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.003334, allocations: 15.98 kB / 0.9845 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.875e-05/0.003433, allocations: 19.92 kB / 0.9845 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.003474, allocations: 11.98 kB / 0.9845 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.003487, allocations: 4 kB / 0.9845 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.003634, allocations: 115.8 kB / 0.9847 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.003647, allocations: 15.92 kB / 0.9847 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.003665, allocations: 11.92 kB / 0.9847 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.00383, allocations: 115.7 kB / 0.9848 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003832, allocations: 0 / 0.9848 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003832, allocations: 0 / 0.9848 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003836, allocations: 3.938 kB / 0.9848 GB, free: 14.25 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003388/0.004175, allocations: 298 kB / 0.9851 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.004208, allocations: 8.031 kB / 0.9851 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.004313, allocations: 20.88 kB / 0.9851 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.004456, allocations: 125.7 kB / 0.9852 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.004464, allocations: 384 / 0.9852 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.004473, allocations: 4.375 kB / 0.9852 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.004585, allocations: 54.19 kB / 0.9853 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004591, allocations: 192 / 0.9853 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.004601, allocations: 384 / 0.9853 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004606, allocations: 3.938 kB / 0.9853 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.004662, allocations: 31.97 kB / 0.9853 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.004913, allocations: 216.5 kB / 0.9855 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.562e-05/0.004978, allocations: 46.44 kB / 0.9856 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.005004, allocations: 8.922 kB / 0.9856 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.005165, allocations: 43.95 kB / 0.9856 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.005182, allocations: 30.56 kB / 0.9856 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005183, allocations: 4 kB / 0.9856 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.005359, allocations: 69.62 kB / 0.9857 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.005388, allocations: 51.41 kB / 0.9858 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.005449, allocations: 117.8 kB / 0.9859 GB, free: 13 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.005459, allocations: 25.7 kB / 0.9859 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.005498, allocations: 92.09 kB / 0.986 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.005512, allocations: 3.953 kB / 0.986 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.005538, allocations: 17.7 kB / 0.986 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.005613, allocations: 314.8 kB / 0.9863 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.005637, allocations: 8 kB / 0.9863 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/0.005657, allocations: 12.11 kB / 0.9863 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.005704, allocations: 29.22 kB / 0.9864 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005706, allocations: 0 / 0.9864 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.172e-05/0.005778, allocations: 61.56 kB / 0.9864 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.005788, allocations: 4 kB / 0.9864 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005792, allocations: 3.938 kB / 0.9864 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.005803, allocations: 0 / 0.9864 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.005849, allocations: 7.984 kB / 0.9864 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.005855, allocations: 8.078 kB / 0.9864 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.005871, allocations: 7.938 kB / 0.9864 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.005876, allocations: 0 / 0.9864 GB, free: 12.39 MB / 0.9011 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 (2): * Single equations (assignments): 2 * 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 5.676e-05/0.005933, allocations: 113.8 kB / 0.9866 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.005947, allocations: 7.891 kB / 0.9866 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.006052, allocations: 57.3 kB / 0.9866 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006054, allocations: 4 kB / 0.9866 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.006058, allocations: 0 / 0.9866 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006062, allocations: 3.984 kB / 0.9866 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.134e-05/0.006153, allocations: 117.3 kB / 0.9867 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.006153, allocations: 0 / 0.9867 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.006173, allocations: 11.88 kB / 0.9867 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006174, allocations: 3.938 kB / 0.9868 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.00618, allocations: 0 / 0.9868 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.006182, allocations: 4 kB / 0.9868 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006182, allocations: 0 / 0.9868 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.23e-05/0.006274, allocations: 147.5 kB / 0.9869 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.006283, allocations: 11.89 kB / 0.9869 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.006292, allocations: 4.031 kB / 0.9869 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.205e-05/0.006324, allocations: 4 kB / 0.9869 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.00635, allocations: 7.984 kB / 0.9869 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.006352, allocations: 0 / 0.9869 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.977e-05/0.006382, allocations: 87.28 kB / 0.987 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.006382, allocations: 0 / 0.987 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001648/0.006547, allocations: 15.92 kB / 0.987 GB, free: 11.73 MB / 0.9011 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 (2): * Single equations (assignments): 2 * 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.0001116/0.006658, allocations: 107.2 kB / 0.9871 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.384e-05/0.006742, allocations: 31.97 kB / 0.9872 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006744, allocations: 0 / 0.9872 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.006767, allocations: 12 kB / 0.9872 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.006921, allocations: 288 / 0.9872 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.007162, allocations: 162.5 kB / 0.9873 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.007207, allocations: 67.25 kB / 0.9874 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.007227, allocations: 20.38 kB / 0.9874 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of SimCode: time 3.91e-07/0.007227, allocations: 0 / 0.9874 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of Templates: time 0.001566/0.008793, allocations: 0.8069 MB / 0.9882 GB, free: 10.47 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.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.769484676420689]