Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001311/0.001311, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001482/0.001482, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 68.53 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2838, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003032/0.2869, allocations: 1.5 MB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.288, allocations: 0.6397 MB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.2881, allocations: 0 / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.2881, allocations: 7.938 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.2882, allocations: 7.922 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.2887, allocations: 75.73 kB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.446e-05/0.2888, allocations: 43.86 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2889, allocations: 19.98 kB / 0.9534 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.289, allocations: 15.92 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.289, allocations: 15.92 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.289, allocations: 4 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.2892, allocations: 99.89 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.2893, allocations: 11.92 kB / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.2893, allocations: 19.88 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2895, allocations: 79.84 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2895, allocations: 0 / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2895, allocations: 0 / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2895, allocations: 0 / 0.9536 GB, free: 5.52 MB / 0.7325 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.0004413/0.29, allocations: 371.3 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.29, allocations: 8.031 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.2901, allocations: 8.844 kB / 0.954 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2902, allocations: 168.3 kB / 0.9541 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2902, allocations: 8.359 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.2902, allocations: 4.375 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.2904, allocations: 57.98 kB / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2904, allocations: 3.938 kB / 0.9542 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2904, allocations: 7.938 kB / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2904, allocations: 0 / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2906, allocations: 27.98 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.2909, allocations: 280.7 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.768e-05/0.291, allocations: 38.56 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.2911, allocations: 8.922 kB / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.2916, allocations: 0.5622 MB / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2916, allocations: 30.56 kB / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2916, allocations: 4 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002501/0.2919, allocations: 69.52 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2919, allocations: 51.41 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.292, allocations: 125.8 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.292, allocations: 25.7 kB / 0.9554 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.2921, allocations: 96.06 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2921, allocations: 3.906 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.2921, allocations: 17.84 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.2922, allocations: 318.8 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.2923, allocations: 11.98 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.2923, allocations: 12 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.093e-05/0.2924, allocations: 28.78 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2924, allocations: 0 / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.2926, allocations: 57.73 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2926, allocations: 8 kB / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2926, allocations: 0 / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2926, allocations: 0 / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/0.2927, allocations: 4 kB / 0.9559 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2927, allocations: 0 / 0.9559 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.2927, allocations: 11.89 kB / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.2928, allocations: 0 / 0.9559 GB, free: 2.773 MB / 0.7325 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.078e-05/0.2928, allocations: 121.8 kB / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.2929, allocations: 0 / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.293, allocations: 65.14 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2931, allocations: 7.938 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2931, allocations: 0 / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2931, allocations: 0 / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2932, allocations: 169.6 kB / 0.9563 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2932, allocations: 0 / 0.9563 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.2933, allocations: 7.984 kB / 0.9563 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2933, allocations: 4.031 kB / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2933, allocations: 0 / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2933, allocations: 0 / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2934, allocations: 0 / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2935, allocations: 159.3 kB / 0.9564 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.2936, allocations: 81.09 kB / 0.9565 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2936, allocations: 0 / 0.9565 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.646e-05/0.2937, allocations: 12.03 kB / 0.9565 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.2937, allocations: 0 / 0.9565 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.2937, allocations: 0 / 0.9565 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.2938, allocations: 95.27 kB / 0.9566 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2938, allocations: 0 / 0.9566 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002385/0.294, allocations: 15.94 kB / 0.9566 GB, free: 1.945 MB / 0.7325 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.0001576/0.2942, allocations: 107.3 kB / 0.9567 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.2943, allocations: 23.98 kB / 0.9568 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2943, allocations: 4 kB / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.2944, allocations: 15.92 kB / 0.9568 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.2946, allocations: 11.98 kB / 0.9568 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.295, allocations: 134.6 kB / 0.9569 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.2953, allocations: 0.6844 MB / 0.9576 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.626e-05/0.2953, allocations: 4.125 kB / 0.9576 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.2953, allocations: 15.42 kB / 0.9576 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2953, allocations: 0 / 0.9576 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of Templates: time 0.002692/0.298, allocations: 499.5 kB / 0.9581 GB, free: 416 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches