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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001085/0.001084, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001773/0.001773, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.866/2.866, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004421, allocations: 11.94 kB / 0.8722 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.775/0.7754, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002179/0.7777, allocations: 1.207 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.779, allocations: 0.5935 MB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.779, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.7791, allocations: 3.938 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.7791, allocations: 11.97 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.7794, allocations: 55.83 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.7795, allocations: 31.92 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.7796, allocations: 11.98 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.044e-05/0.7797, allocations: 11.94 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.7798, allocations: 19.84 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.7798, allocations: 8 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.78, allocations: 91.84 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.78, allocations: 7.984 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.78, allocations: 29.7 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.7802, allocations: 53.89 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7802, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7802, allocations: 3.938 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.7802, allocations: 0 / 1.024 GB, free: 13.93 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.0003794/0.7806, allocations: 364.9 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.7806, allocations: 12.56 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.7806, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.7808, allocations: 178.9 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.7808, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.7808, allocations: 8 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.781, allocations: 53.64 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.781, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.781, allocations: 4 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.781, allocations: 3.984 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.895e-05/0.7811, allocations: 39.91 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.7815, allocations: 272.8 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.75e-05/0.7816, allocations: 30.58 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.7816, allocations: 28.84 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/0.7822, allocations: 0.5622 MB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.7822, allocations: 38.5 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.7823, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002989/0.7826, allocations: 69.69 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.7826, allocations: 55.39 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.7827, allocations: 121.8 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.7828, allocations: 25.7 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.7828, allocations: 88.14 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.7829, allocations: 7.906 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.7829, allocations: 4.125 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.783, allocations: 318.8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.7831, allocations: 12 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/0.7832, allocations: 15.92 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.7832, allocations: 12 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7832, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001726/0.7834, allocations: 65.64 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.7834, allocations: 8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7835, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.7835, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.7836, allocations: 7.938 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7836, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.7836, allocations: 7.984 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.7837, allocations: 4.031 kB / 1.027 GB, free: 11.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.7838, allocations: 121.7 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.7838, allocations: 7.906 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.7841, allocations: 65.14 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7841, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7841, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7841, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.7843, allocations: 177.7 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7844, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.7844, allocations: 7.984 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7844, allocations: 7.938 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.7844, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7844, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7845, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.7847, allocations: 155.5 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.7847, allocations: 92.95 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.7848, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.7848, allocations: 4 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.7849, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.7849, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.785, allocations: 99.27 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.785, allocations: 4.031 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002374/0.7852, allocations: 8 kB / 1.028 GB, free: 10.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002111/0.7854, allocations: 111.2 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.7856, allocations: 27.98 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7856, allocations: 0 / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.514e-05/0.7857, allocations: 23.98 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.7859, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.7863, allocations: 136.6 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.7866, allocations: 0.6809 MB / 1.028 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.7867, allocations: 11.91 kB / 1.028 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.7867, allocations: 11.44 kB / 1.028 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7867, allocations: 3.938 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of Templates: time 0.003039/0.7898, allocations: 448 kB / 1.029 GB, free: 8.867 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