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.001195/0.001195, allocations: 104.9 kB / 16.35 MB, free: 5.902 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.001344/0.001344, allocations: 193.9 kB / 17.29 MB, free: 5.523 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.422/2.422, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 60.36 kB / 0.8707 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2765, allocations: 151.7 MB / 1.019 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002442/0.279, allocations: 1.495 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.28, allocations: 0.6566 MB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.28, allocations: 4 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.2801, allocations: 3.938 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.2801, allocations: 3.938 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.2804, allocations: 75.73 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.2805, allocations: 39.84 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.2806, allocations: 23.92 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.2807, allocations: 8 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.2807, allocations: 23.86 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2808, allocations: 0 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.2809, allocations: 107.9 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.281, allocations: 0 / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.281, allocations: 19.88 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2811, allocations: 83.81 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2812, allocations: 0 / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2812, allocations: 4 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2812, allocations: 0 / 1.021 GB, free: 7.363 MB / 0.795 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.0003734/0.2815, allocations: 367.3 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2816, allocations: 8.922 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.2816, allocations: 12.84 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2817, allocations: 172.2 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2818, allocations: 8.359 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.2818, allocations: 4.375 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2819, allocations: 61.94 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.2819, allocations: 0 / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2819, allocations: 4 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2819, allocations: 0 / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.282, allocations: 23.98 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.2824, allocations: 284.7 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.83e-05/0.2825, allocations: 30.58 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.2825, allocations: 20.91 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004354/0.283, allocations: 0.5544 MB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.283, allocations: 30.56 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.283, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.000227/0.2832, allocations: 77.52 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2833, allocations: 51.41 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.2834, allocations: 121.8 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.2834, allocations: 25.7 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.2834, allocations: 92.08 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.2834, allocations: 7.984 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.2835, allocations: 17.7 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.2836, allocations: 318.9 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.2836, allocations: 12 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.316e-05/0.2837, allocations: 7.984 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.627e-05/0.2838, allocations: 28.84 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2838, allocations: 0 / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001124/0.2839, allocations: 61.53 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2839, allocations: 4 kB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2839, allocations: 8.031 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2839, allocations: 0 / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.284, allocations: 7.984 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.284, allocations: 0 / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.284, allocations: 4 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2841, allocations: 0 / 1.024 GB, free: 4.621 MB / 0.795 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 7.194e-05/0.2841, allocations: 118.4 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.2842, allocations: 3.984 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.2843, allocations: 65.16 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2843, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2843, allocations: 3.984 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2843, allocations: 0 / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.2845, allocations: 173.6 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2845, allocations: 0 / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.2846, allocations: 4 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2846, allocations: 0 / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2846, allocations: 0 / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2846, allocations: 3.938 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2846, allocations: 12.03 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.2847, allocations: 155.4 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.2848, allocations: 81.02 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.2848, allocations: 4 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.376e-05/0.2849, allocations: 3.984 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.2849, allocations: 3.938 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.2849, allocations: 4.031 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.285, allocations: 99.27 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/0.285, allocations: 0 / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002277/0.2852, allocations: 15.94 kB / 1.024 GB, free: 3.785 MB / 0.795 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.0001295/0.2853, allocations: 103.2 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.2855, allocations: 27.97 kB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2855, allocations: 0 / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.2855, allocations: 16.06 kB / 1.024 GB, free: 3.629 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.2858, allocations: 3.938 kB / 1.024 GB, free: 3.625 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.286, allocations: 130.6 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.2863, allocations: 0.6846 MB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.2863, allocations: 7.859 kB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.2863, allocations: 11.44 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.2863, allocations: 64 / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of Templates: time 0.002462/0.2888, allocations: 0.4901 MB / 1.026 GB, free: 2.254 MB / 0.795 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches