Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001044/0.001044, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006429/0.006429, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.795/2.795, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 13.38 kB / 0.9027 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3557, allocations: 159.6 MB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001943/0.3577, allocations: 1.222 MB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3591, allocations: 0.6544 MB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.3592, allocations: 0 / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.3592, allocations: 3.938 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.3593, allocations: 7.922 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.3597, allocations: 55.89 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3599, allocations: 31.86 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.36, allocations: 23.97 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.3601, allocations: 4 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.3602, allocations: 23.8 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3602, allocations: 4 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.3605, allocations: 91.89 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.3605, allocations: 11.98 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.3606, allocations: 41.58 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.3608, allocations: 76.11 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3608, allocations: 8 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3608, allocations: 0 / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3608, allocations: 0 / 1.061 GB, free: 2.762 MB / 0.8106 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.000509/0.3613, allocations: 351.4 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3614, allocations: 11.97 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.3614, allocations: 4.938 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3616, allocations: 180.2 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3616, allocations: 8.375 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3616, allocations: 8.312 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3618, allocations: 65.92 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3618, allocations: 0 / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3618, allocations: 0 / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3619, allocations: 0 / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.362, allocations: 27.98 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.3624, allocations: 280.8 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3626, allocations: 42.48 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.3626, allocations: 16.92 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.3632, allocations: 0.5622 MB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3632, allocations: 30.56 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3632, allocations: 0 / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002855/0.3635, allocations: 73.58 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3636, allocations: 55.47 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3637, allocations: 121.8 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3637, allocations: 29.7 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.3637, allocations: 96.06 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.3638, allocations: 3.906 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.3638, allocations: 13.72 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3639, allocations: 318.8 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.364, allocations: 11.98 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.364, allocations: 16 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.788e-05/0.3641, allocations: 28.84 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3641, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001386/0.3643, allocations: 57.67 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3643, allocations: 12.03 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3643, allocations: 4 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3643, allocations: 0 / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.3644, allocations: 4 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.3644, allocations: 0 / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.3645, allocations: 7.984 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3645, allocations: 3.938 kB / 1.063 GB, free: 0 / 0.8106 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 9.94e-05/0.3646, allocations: 117.8 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3646, allocations: 7.906 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.3648, allocations: 65.19 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3648, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3648, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3648, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.365, allocations: 169.6 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.365, allocations: 0 / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.3651, allocations: 11.92 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3651, allocations: 4.031 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3651, allocations: 3.938 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3651, allocations: 4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3651, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.3653, allocations: 155.4 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.3654, allocations: 89.12 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3654, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.3654, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.3655, allocations: 4 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.3655, allocations: 4 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.395e-05/0.3656, allocations: 103.6 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3656, allocations: 0 / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002364/0.3658, allocations: 15.94 kB / 1.064 GB, free: 15.16 MB / 0.8262 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.000217/0.3661, allocations: 111.3 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.3662, allocations: 31.92 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3662, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.016e-05/0.3663, allocations: 15.98 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.3665, allocations: 1.562 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.3669, allocations: 156.6 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.3671, allocations: 0.6809 MB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.3672, allocations: 3.984 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.3672, allocations: 11.44 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3672, allocations: 3.938 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.003019/0.3702, allocations: 447.5 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches