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.004662/0.004662, allocations: 103 kB / 15.73 MB, free: 6.469 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.001107/0.001107, allocations: 194 kB / 16.67 MB, free: 6.379 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.331/2.331, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 70.72 kB / 0.9508 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3578, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003613/0.3615, allocations: 1.494 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3629, allocations: 0.6527 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.363, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.3631, allocations: 3.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.3632, allocations: 7.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.3637, allocations: 75.73 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.3638, allocations: 43.83 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.364, allocations: 12 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3641, allocations: 19.92 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.3641, allocations: 23.86 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3642, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.3644, allocations: 95.89 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.3644, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.3645, allocations: 19.86 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.3647, allocations: 83.78 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3647, allocations: 3.938 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3647, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3647, allocations: 0 / 1.09 GB, free: 14.94 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.0005415/0.3653, allocations: 363.4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3653, allocations: 12.03 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.3654, allocations: 8.844 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3655, allocations: 176.3 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3656, allocations: 4.312 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3656, allocations: 4.375 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3658, allocations: 57.94 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3658, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3658, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.3658, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3659, allocations: 35.97 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.3664, allocations: 284.6 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.537e-05/0.3665, allocations: 30.56 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.3665, allocations: 12.92 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/0.3671, allocations: 0.5622 MB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3672, allocations: 34.56 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3672, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002937/0.3675, allocations: 61.62 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.3675, allocations: 55.39 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3676, allocations: 121.9 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3677, allocations: 33.7 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.3677, allocations: 84.14 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3678, allocations: 3.906 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.3678, allocations: 21.7 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3679, allocations: 314.8 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.368, allocations: 15.98 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.368, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.3681, allocations: 28.91 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3681, allocations: 3.938 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001303/0.3683, allocations: 69.52 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3683, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3683, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3683, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.3684, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3684, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.3685, allocations: 4.031 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3685, allocations: 0 / 1.093 GB, free: 12.2 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 9.517e-05/0.3686, allocations: 117.8 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.3686, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.3688, allocations: 65.14 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3688, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3688, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3688, allocations: 8.031 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.369, allocations: 177.6 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.369, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.3691, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3691, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3691, allocations: 3.984 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3691, allocations: 7.938 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3691, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.3693, allocations: 151.5 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.3694, allocations: 89 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3694, allocations: 3.984 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.3694, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3695, allocations: 7.938 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3695, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.221e-05/0.3696, allocations: 99.64 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3696, allocations: 0 / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002261/0.3698, allocations: 15.94 kB / 1.093 GB, free: 11.36 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.0001781/0.37, allocations: 111.3 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.3701, allocations: 27.92 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3701, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.3702, allocations: 8 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3704, allocations: 5.562 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.3708, allocations: 138.7 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3711, allocations: 0.6807 MB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.039e-05/0.3712, allocations: 4 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.3712, allocations: 7.438 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.3712, allocations: 0 / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of Templates: time 0.002793/0.374, allocations: 0.5009 MB / 1.095 GB, free: 9.828 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