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.356/2.356, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001238/0.001238, allocations: 180.9 kB / 492.3 MB, free: 0.6094 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.594/1.594, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008651/0.0008653, allocations: 93.84 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.44e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3377, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.356, allocations: 150.4 MB / 1.359 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.357, allocations: 74.83 kB / 1.359 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006657/1.363, allocations: 2.215 MB / 1.361 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.334e-06/1.363, allocations: 1.547 kB / 1.361 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.782e-06/1.363, allocations: 0 / 1.361 GB, free: 34.57 MB / 0.8386 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.0002814/1.364, allocations: 356.5 kB / 1.362 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.364, allocations: 11.66 kB / 1.362 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/1.364, allocations: 9.922 kB / 1.362 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.826e-05/1.364, allocations: 174.5 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/1.364, allocations: 9.688 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/1.364, allocations: 3.875 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/1.364, allocations: 43.77 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/1.364, allocations: 3.938 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/1.364, allocations: 3.844 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/1.364, allocations: 1.312 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/1.364, allocations: 18.41 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/1.364, allocations: 289.4 kB / 1.362 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.053e-05/1.364, allocations: 26.56 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/1.365, allocations: 11.98 kB / 1.362 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/1.365, allocations: 0.5528 MB / 1.363 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/1.365, allocations: 34.56 kB / 1.363 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/1.365, allocations: 3.938 kB / 1.363 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/1.365, allocations: 52.94 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/1.365, allocations: 54.75 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/1.365, allocations: 108.6 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/1.365, allocations: 25.7 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/1.365, allocations: 92.94 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/1.365, allocations: 7.578 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.365, allocations: 4.031 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/1.365, allocations: 316.1 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/1.365, allocations: 7.969 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.282e-05/1.365, allocations: 6.156 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.988e-05/1.365, allocations: 3.312 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.365, allocations: 0 / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.61e-05/1.365, allocations: 53.73 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.365, allocations: 3.312 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/1.365, allocations: 96 / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/1.366, allocations: 7.312 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/1.366, allocations: 5.641 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.366, allocations: 3.953 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/1.366, allocations: 8.984 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/1.366, allocations: 0 / 1.364 GB, free: 32.27 MB / 0.8386 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 () * 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 4.757e-05/1.366, allocations: 109.1 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/1.366, allocations: 0 / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/1.366, allocations: 61.33 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.366, allocations: 3.938 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.366, allocations: 3.844 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.366, allocations: 3.953 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/1.366, allocations: 168.4 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.366, allocations: 0.875 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/1.366, allocations: 5.156 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.366, allocations: 0 / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/1.366, allocations: 1.312 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.366, allocations: 7.828 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.366, allocations: 4.031 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.857e-05/1.366, allocations: 151.9 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/1.366, allocations: 86.5 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/1.366, allocations: 0 / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-05/1.366, allocations: 0 / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/1.366, allocations: 9.25 kB / 1.364 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/1.366, allocations: 0 / 1.364 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.115e-05/1.366, allocations: 99.95 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.366, allocations: 0 / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002092/1.367, allocations: 21.33 kB / 1.364 GB, free: 31.59 MB / 0.8386 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 () * 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.0001204/1.367, allocations: 108.2 kB / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.136e-05/1.367, allocations: 10.88 kB / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.367, allocations: 3.312 kB / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/1.367, allocations: 9.281 kB / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/1.367, allocations: 9.047 kB / 1.365 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/1.367, allocations: 80.05 kB / 1.365 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/1.367, allocations: 0.6833 MB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.317e-05/1.367, allocations: 3.812 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/1.367, allocations: 12.83 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.367, allocations: 0 / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.002217/1.37, allocations: 432 kB / 1.366 GB, free: 30.66 MB / 0.8386 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