Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008786/0.0008787, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005223/0.005223, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.783/2.783, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 8 kB / 0.8728 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.683/0.6833, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00198/0.6854, allocations: 1.215 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.6866, allocations: 0.6398 MB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.6867, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.6867, allocations: 3.938 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.559e-05/0.6868, allocations: 11.94 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.6872, allocations: 59.86 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.6873, allocations: 31.92 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.6874, allocations: 11.94 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.6875, allocations: 19.92 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.6875, allocations: 19.86 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.6876, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.6878, allocations: 99.89 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.6878, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.6878, allocations: 45.56 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.688, allocations: 85.78 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6881, allocations: 4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6881, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.6881, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 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.0004951/0.6886, allocations: 351.4 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6886, allocations: 16.02 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.6887, allocations: 0.9375 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.6888, allocations: 176.2 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.6888, allocations: 384 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.6888, allocations: 8.312 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.689, allocations: 61.98 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.689, allocations: 3.938 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.6891, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6891, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.6892, allocations: 31.98 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.6896, allocations: 276.7 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.686e-05/0.6897, allocations: 30.56 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.6898, allocations: 20.92 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/0.6903, allocations: 0.5622 MB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.6903, allocations: 34.56 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6903, allocations: 3.938 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002723/0.6906, allocations: 73.61 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.6906, allocations: 51.41 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.6908, allocations: 117.8 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.6908, allocations: 25.7 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.6908, allocations: 100 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.6909, allocations: 4.188 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.6909, allocations: 13.72 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.691, allocations: 322.8 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.505e-05/0.6911, allocations: 7.984 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.6911, allocations: 12 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.24e-05/0.6912, allocations: 32.91 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6912, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001307/0.6914, allocations: 65.53 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6914, allocations: 10.17 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6914, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.6914, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.6915, allocations: 8 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6915, allocations: 4.031 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.6916, allocations: 7.938 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.6916, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 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 0.0001019/0.6917, allocations: 118.3 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.6917, allocations: 11.89 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.6919, allocations: 69.14 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.6919, allocations: 7.969 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6919, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.692, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.6921, allocations: 165.6 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6922, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.6922, allocations: 12 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6922, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6922, allocations: 3.984 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6922, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6922, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.6924, allocations: 163.4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.6925, allocations: 77.11 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.6925, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.6926, allocations: 7.984 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.6926, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.6926, allocations: 8.031 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.3e-05/0.6927, allocations: 99.2 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6927, allocations: 0 / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002424/0.693, allocations: 23.88 kB / 1.028 GB, free: 9.977 MB / 0.7794 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.0001989/0.6932, allocations: 103.2 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.6933, allocations: 23.98 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6934, allocations: 4.062 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/0.6934, allocations: 16 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.6936, allocations: 2.672 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.694, allocations: 152.5 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.6943, allocations: 0.6849 MB / 1.029 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.6943, allocations: 7.859 kB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.6943, allocations: 11.44 kB / 1.029 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6943, allocations: 0 / 1.029 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.002661/0.697, allocations: 453.5 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches