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.008082/0.008082, allocations: 101 kB / 15.73 MB, free: 6.02 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.002452/0.002452, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.619/2.619, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 71.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9717/0.973, allocations: 159.1 MB / 1.221 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002799/0.9758, allocations: 1.496 MB / 1.222 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.9769, allocations: 0.6544 MB / 1.223 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.9769, allocations: 4 kB / 1.223 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.977, allocations: 7.922 kB / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.977, allocations: 3.938 kB / 1.223 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.9774, allocations: 79.72 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.9775, allocations: 35.88 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.9776, allocations: 11.98 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.9777, allocations: 19.92 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.9778, allocations: 15.92 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.9778, allocations: 4 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.978, allocations: 99.89 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.978, allocations: 7.922 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.978, allocations: 23.88 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.9782, allocations: 76.7 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.9782, allocations: 8 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9782, allocations: 4 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9782, allocations: 3.984 kB / 1.223 GB, free: 15.69 MB / 0.9512 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.0004827/0.9787, allocations: 363.1 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.9787, allocations: 8.031 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.9788, allocations: 8.891 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.9789, allocations: 168.3 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.9789, allocations: 384 / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.9789, allocations: 8.375 kB / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.9791, allocations: 57.97 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.9791, allocations: 4 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.9791, allocations: 7.938 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.9791, allocations: 0 / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.9792, allocations: 27.92 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.9796, allocations: 280.7 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.9797, allocations: 30.56 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.9798, allocations: 24.86 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.9803, allocations: 0.5544 MB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.9803, allocations: 38.5 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9803, allocations: 0 / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002403/0.9805, allocations: 65.67 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.9806, allocations: 51.41 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.9807, allocations: 117.8 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.9807, allocations: 29.7 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.9807, allocations: 88.12 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.9807, allocations: 7.953 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.9808, allocations: 13.72 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9809, allocations: 322.8 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.9809, allocations: 16.06 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.981, allocations: 7.984 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/0.981, allocations: 24.86 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.981, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.9812, allocations: 61.62 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.9812, allocations: 4 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9812, allocations: 4.094 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.9812, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.9813, allocations: 8 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.9813, allocations: 4 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.9814, allocations: 3.984 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.9814, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 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.03e-05/0.9814, allocations: 122.2 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.9815, allocations: 11.94 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.9816, allocations: 61.2 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.9816, allocations: 0 / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9816, allocations: 3.938 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.9816, allocations: 0 / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.9818, allocations: 169.6 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9818, allocations: 0 / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.9818, allocations: 7.984 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.9818, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.9819, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9819, allocations: 4 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9819, allocations: 4.031 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.982, allocations: 155.4 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.9821, allocations: 85.09 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.9821, allocations: 0 / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.9821, allocations: 0 / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.9822, allocations: 4 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.9822, allocations: 0 / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.9822, allocations: 103.3 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9822, allocations: 3.938 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000227/0.9825, allocations: 15.88 kB / 1.226 GB, free: 12.12 MB / 0.9512 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.0001708/0.9826, allocations: 107.3 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.9828, allocations: 27.92 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9828, allocations: 0 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.9828, allocations: 16.05 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.983, allocations: 6.031 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.9834, allocations: 139.3 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.9837, allocations: 0.6807 MB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.489e-05/0.9837, allocations: 4 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.9837, allocations: 15.42 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of SimCode: time 2.9e-07/0.9837, allocations: 0 / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.002951/0.9867, allocations: 0.4884 MB / 1.228 GB, free: 10.59 MB / 0.9512 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches