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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009765/0.009765, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002399/0.002399, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59 kB / 0.9508 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.357, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.0024/0.3595, allocations: 1.485 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.3605, allocations: 0.6605 MB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.3605, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.3606, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.208e-05/0.3606, allocations: 11.88 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.361, allocations: 75.73 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.361, allocations: 35.86 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.3611, allocations: 19.97 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.3612, allocations: 12 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.3613, allocations: 23.86 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3613, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.3615, allocations: 99.83 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.3615, allocations: 11.98 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.3615, allocations: 15.88 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.3617, allocations: 91.7 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3617, allocations: 3.938 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3617, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3617, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 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.0003972/0.3621, allocations: 359.4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3622, allocations: 12.03 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.3622, allocations: 4.844 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3623, allocations: 176.3 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3623, allocations: 384 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3623, allocations: 4.375 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3625, allocations: 61.92 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3625, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3625, allocations: 7.984 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3625, allocations: 4 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.3626, allocations: 23.98 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.363, allocations: 280.7 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.08e-05/0.3631, allocations: 30.5 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.3631, allocations: 20.91 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/0.3637, allocations: 0.5583 MB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3638, allocations: 38.56 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3638, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002609/0.364, allocations: 61.67 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3641, allocations: 59.47 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3642, allocations: 125.7 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3642, allocations: 29.69 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.3643, allocations: 88.14 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.3643, allocations: 7.906 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.3643, allocations: 9.719 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3645, allocations: 326.8 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.3646, allocations: 4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.3646, allocations: 19.98 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.688e-05/0.3647, allocations: 24.84 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3647, allocations: 3.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.3648, allocations: 53.59 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3648, allocations: 7.938 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3649, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3649, allocations: 96 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.365, allocations: 11.98 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.365, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.365, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.365, allocations: 4 kB / 1.093 GB, free: 12.17 MB / 0.8575 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 8.931e-05/0.3651, allocations: 113.8 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.3652, allocations: 7.938 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.3653, allocations: 61.2 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3653, allocations: 4.031 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3654, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.3654, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.3656, allocations: 173.6 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3656, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.3656, allocations: 15.92 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3656, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3656, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3656, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3656, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3658, allocations: 159.5 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.3659, allocations: 81.02 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3659, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.366, allocations: 4 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.366, allocations: 7.984 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.366, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.3661, allocations: 95.27 kB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3661, allocations: 4.031 kB / 1.093 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002745/0.3664, allocations: 11.94 kB / 1.093 GB, free: 11.34 MB / 0.8575 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.0002062/0.3666, allocations: 105.1 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.3668, allocations: 31.86 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3668, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.3668, allocations: 15.98 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3671, allocations: 4.125 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.3675, allocations: 130.7 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3678, allocations: 0.6846 MB / 1.094 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.3679, allocations: 4 kB / 1.094 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.3679, allocations: 11.38 kB / 1.094 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3679, allocations: 0 / 1.094 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.003117/0.371, allocations: 0.5036 MB / 1.095 GB, free: 9.805 MB / 0.8575 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches