Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009934/0.0009934, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.459/1.459, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 462.6 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 14.59 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2959, allocations: 159.6 MB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001845/0.2978, allocations: 1.222 MB / 1.061 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.299, allocations: 0.6505 MB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.299, allocations: 11.88 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.2991, allocations: 0 / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.2991, allocations: 3.938 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.2994, allocations: 55.88 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.139e-05/0.2995, allocations: 43.8 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.2996, allocations: 8 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.2997, allocations: 15.97 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.2998, allocations: 23.86 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.2998, allocations: 0 / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3, allocations: 91.91 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.3, allocations: 3.984 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.3001, allocations: 45.56 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3002, allocations: 60.2 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3002, allocations: 0 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3002, allocations: 0 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3002, allocations: 0 / 1.061 GB, free: 2.785 MB / 0.8106 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.00043/0.3006, allocations: 355.4 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3007, allocations: 15.97 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.3007, allocations: 0.9375 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3009, allocations: 176.2 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3009, allocations: 384 / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.3009, allocations: 8.312 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3011, allocations: 54 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.3011, allocations: 4 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.3011, allocations: 4 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3011, allocations: 3.984 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3012, allocations: 35.97 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.3016, allocations: 288.6 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.3017, allocations: 34.58 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.3017, allocations: 16.91 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/0.3022, allocations: 0.5622 MB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.462e-05/0.3023, allocations: 34.56 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3023, allocations: 4 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002517/0.3025, allocations: 69.53 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.3026, allocations: 55.41 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.779e-05/0.3027, allocations: 121.8 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.3027, allocations: 25.7 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.3028, allocations: 96.2 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.3028, allocations: 3.906 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.3028, allocations: 9.719 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3029, allocations: 322.8 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.303, allocations: 8 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/0.303, allocations: 19.92 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.3031, allocations: 32.91 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3031, allocations: 0 / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001285/0.3033, allocations: 61.62 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3033, allocations: 4 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3033, allocations: 0 / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3033, allocations: 0 / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.3034, allocations: 16.02 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3034, allocations: 0 / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.3034, allocations: 0 / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3034, allocations: 4 kB / 1.064 GB, free: 24 kB / 0.8106 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 9.374e-05/0.3035, allocations: 113.8 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.3036, allocations: 7.906 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.3038, allocations: 77.12 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3038, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3038, allocations: 3.984 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3038, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.3039, allocations: 165.6 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.304, allocations: 3.938 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.304, allocations: 12 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.304, allocations: 0 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.304, allocations: 0 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.304, allocations: 0 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.304, allocations: 4.031 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3042, allocations: 159.4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.3043, allocations: 77.11 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3043, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.3043, allocations: 8 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.3044, allocations: 8.016 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.3044, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.3045, allocations: 95.2 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3045, allocations: 0 / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002398/0.3047, allocations: 19.94 kB / 1.065 GB, free: 15.18 MB / 0.8262 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.0001395/0.3049, allocations: 99.25 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.305, allocations: 27.98 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.305, allocations: 0 / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.3051, allocations: 19.98 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.3053, allocations: 1.094 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.3056, allocations: 186.3 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3059, allocations: 0.6809 MB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.3059, allocations: 19.31 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3059, allocations: 0 / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.002114/0.308, allocations: 0.71 MB / 1.066 GB, free: 13.37 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches