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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 173.1 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.2 MB / 0.7949 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 92.33 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005189, allocations: 10.31 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3459, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/0.5553, allocations: 150.4 MB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5556, allocations: 75.95 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006748/0.5624, allocations: 2.233 MB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5624, allocations: 0 / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.5624, allocations: 0 / 1.372 GB, free: 9.301 MB / 0.8698 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.0004272/0.5629, allocations: 367.2 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.5629, allocations: 11.97 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.563, allocations: 11.86 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.5631, allocations: 167 kB / 1.373 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.5631, allocations: 7.938 kB / 1.373 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.5632, allocations: 0 / 1.373 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.5634, allocations: 61.61 kB / 1.373 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.5634, allocations: 4 kB / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5634, allocations: 0 / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5634, allocations: 0 / 1.373 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.5635, allocations: 31.98 kB / 1.373 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.564, allocations: 280.8 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.947e-05/0.5641, allocations: 42.5 kB / 1.373 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005049/0.5646, allocations: 0.5506 MB / 1.374 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.5646, allocations: 34.56 kB / 1.374 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.5646, allocations: 0 / 1.374 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000275/0.5649, allocations: 81.53 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.565, allocations: 55.34 kB / 1.374 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.5651, allocations: 109 kB / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.5651, allocations: 25.7 kB / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.5652, allocations: 88.14 kB / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.5652, allocations: 11.83 kB / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.5652, allocations: 4.125 kB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5653, allocations: 318.8 kB / 1.374 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.164e-05/0.5654, allocations: 7.984 kB / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.5654, allocations: 12 kB / 1.374 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.5655, allocations: 11.98 kB / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5655, allocations: 64 / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001177/0.5656, allocations: 69.67 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5656, allocations: 4 kB / 1.374 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5657, allocations: 0 / 1.374 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5657, allocations: 0 / 1.374 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.5658, allocations: 15.94 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5658, allocations: 3.938 kB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.5658, allocations: 3.906 kB / 1.374 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.5658, allocations: 8.031 kB / 1.374 GB, free: 6.598 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.925e-05/0.5659, allocations: 105.8 kB / 1.374 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.566, allocations: 7.938 kB / 1.374 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.5661, allocations: 65.2 kB / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5662, allocations: 0 / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5662, allocations: 3.953 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5662, allocations: 4.031 kB / 1.375 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.5664, allocations: 165.7 kB / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5664, allocations: 3.938 kB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.5664, allocations: 11.98 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5664, allocations: 0 / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.5664, allocations: 0 / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5665, allocations: 0 / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5665, allocations: 3.938 kB / 1.375 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.5666, allocations: 167.4 kB / 1.375 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.5667, allocations: 77.11 kB / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.5667, allocations: 0 / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.5668, allocations: 4 kB / 1.375 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.5668, allocations: 0 / 1.375 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.5668, allocations: 3.984 kB / 1.375 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.5669, allocations: 99.69 kB / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5669, allocations: 0 / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000232/0.5672, allocations: 19.94 kB / 1.375 GB, free: 5.77 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002029/0.5674, allocations: 119 kB / 1.375 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.5675, allocations: 27.92 kB / 1.375 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5675, allocations: 0 / 1.375 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-05/0.5676, allocations: 20.05 kB / 1.375 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.5677, allocations: 4 kB / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.5681, allocations: 144.6 kB / 1.375 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.5684, allocations: 0.6848 MB / 1.376 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.5684, allocations: 8.062 kB / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.5684, allocations: 7.438 kB / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of SimCode: time 3.11e-07/0.5685, allocations: 0 / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of Templates: time 0.002621/0.5711, allocations: 434 kB / 1.376 GB, free: 4.277 MB / 0.8698 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","../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches