Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001322/0.001322, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001336/0.001336, allocations: 195.9 kB / 16.91 MB, free: 6.195 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.723/2.723, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 66.58 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3551, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003338/0.3584, allocations: 1.568 MB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3597, allocations: 0.6351 MB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.3598, allocations: 7.938 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.3598, allocations: 3.984 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.546e-05/0.3599, allocations: 7.922 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.3604, allocations: 67.88 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.46e-05/0.3605, allocations: 39.8 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3606, allocations: 16 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/0.3607, allocations: 19.97 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.3607, allocations: 19.86 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3608, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.361, allocations: 95.91 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.361, allocations: 7.984 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.361, allocations: 19.86 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.3612, allocations: 64.2 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3612, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3612, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.3612, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8419 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.0005145/0.3618, allocations: 351.4 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3618, allocations: 8.031 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.3618, allocations: 8.844 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.362, allocations: 176.2 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.362, allocations: 384 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.3621, allocations: 16.31 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3622, allocations: 50 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3623, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3623, allocations: 4 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3623, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.3624, allocations: 23.98 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.3629, allocations: 292.6 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/0.363, allocations: 30.58 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.3631, allocations: 20.91 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006172/0.3637, allocations: 0.5505 MB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3637, allocations: 34.56 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3637, allocations: 7.938 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0002721/0.364, allocations: 65.61 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3641, allocations: 51.41 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3642, allocations: 121.8 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3642, allocations: 29.7 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.3643, allocations: 88.08 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.3643, allocations: 7.906 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.3644, allocations: 21.83 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3645, allocations: 318.8 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.3646, allocations: 8 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.3646, allocations: 7.984 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.562e-05/0.3647, allocations: 28.84 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3647, allocations: 4 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000132/0.3649, allocations: 61.59 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3649, allocations: 4 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3649, allocations: 0 / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3649, allocations: 0 / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.365, allocations: 11.98 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.365, allocations: 4 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.3651, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3651, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8419 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.0001061/0.3652, allocations: 121.8 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.3652, allocations: 7.984 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.3654, allocations: 61.06 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3654, allocations: 0 / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3654, allocations: 3.984 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3654, allocations: 0 / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.3656, allocations: 169.6 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3656, allocations: 3.938 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.3657, allocations: 4 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3657, allocations: 4.031 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.3657, allocations: 4 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3657, allocations: 0 / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3657, allocations: 0 / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3659, allocations: 151.5 kB / 1.069 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.366, allocations: 85.02 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.366, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.3661, allocations: 8.016 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3661, allocations: 7.984 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3661, allocations: 0 / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.011e-05/0.3662, allocations: 103.2 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3662, allocations: 0 / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000237/0.3664, allocations: 19.88 kB / 1.07 GB, free: 9.004 MB / 0.8419 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.0001647/0.3666, allocations: 99.25 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.3668, allocations: 31.97 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3668, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.3668, allocations: 12 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.3671, allocations: 4.047 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.3675, allocations: 180.2 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3678, allocations: 0.6847 MB / 1.071 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.3679, allocations: 7.438 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3679, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of Templates: time 0.002463/0.3704, allocations: 0.7107 MB / 1.071 GB, free: 7.223 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches