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.008767/0.008767, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.002002/0.002003, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.411/2.411, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.88 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.085, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002483/1.088, allocations: 1.498 MB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001038/1.089, allocations: 0.6569 MB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/1.089, allocations: 0 / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/1.089, allocations: 5.719 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/1.089, allocations: 8.594 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/1.09, allocations: 74.39 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.816e-05/1.09, allocations: 39.95 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/1.09, allocations: 16.31 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/1.09, allocations: 20.41 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/1.09, allocations: 16.11 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/1.09, allocations: 6.969 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/1.09, allocations: 99.33 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/1.09, allocations: 10.64 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/1.09, allocations: 17.06 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/1.09, allocations: 86.55 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.09, allocations: 0 / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.502e-06/1.09, allocations: 0 / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.669e-06/1.091, allocations: 0 / 1.09 GB, free: 3.875 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.0004004/1.091, allocations: 362.1 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.091, allocations: 17.89 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/1.091, allocations: 7.297 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.952e-05/1.091, allocations: 169.1 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.091, allocations: 1.125 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/1.091, allocations: 10.66 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/1.091, allocations: 56.75 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/1.091, allocations: 0.6875 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/1.091, allocations: 5.406 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.091, allocations: 0.7812 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/1.091, allocations: 27.88 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/1.092, allocations: 283.3 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/1.092, allocations: 31.25 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/1.092, allocations: 17.41 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/1.092, allocations: 0.5599 MB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/1.092, allocations: 31.31 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.092, allocations: 1.156 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002674/1.093, allocations: 70.3 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/1.093, allocations: 52.16 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/1.093, allocations: 124.1 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/1.093, allocations: 29.7 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/1.093, allocations: 88.62 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/1.093, allocations: 4.75 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/1.093, allocations: 17.45 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.326e-05/1.093, allocations: 318.8 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/1.093, allocations: 11.22 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/1.093, allocations: 7.891 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/1.093, allocations: 33.16 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.093, allocations: 0 / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/1.093, allocations: 56.06 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.093, allocations: 6.047 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.093, allocations: 0.7812 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.093, allocations: 0.7188 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/1.093, allocations: 5.938 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.093, allocations: 0.7188 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/1.094, allocations: 6.984 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/1.094, allocations: 1.734 kB / 1.093 GB, free: 1.449 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 7.286e-05/1.094, allocations: 112.8 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/1.094, allocations: 7.078 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/1.094, allocations: 69.58 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.094, allocations: 0 / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.094, allocations: 1.359 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.094, allocations: 4.031 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/1.094, allocations: 174 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.094, allocations: 0 / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/1.094, allocations: 6.5 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.094, allocations: 4.75 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/1.094, allocations: 0.6094 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.094, allocations: 0.6562 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/1.094, allocations: 0.9062 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/1.094, allocations: 159.9 kB / 1.093 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/1.094, allocations: 79.8 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/1.094, allocations: 0.5156 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/1.094, allocations: 3.547 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/1.094, allocations: 5.562 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/1.095, allocations: 1.688 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.947e-05/1.095, allocations: 97.72 kB / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.095, allocations: 0 / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000241/1.095, allocations: 25.3 kB / 1.093 GB, free: 0.7188 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.0002109/1.095, allocations: 106.2 kB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001662/1.095, allocations: 23.05 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.095, allocations: 0 / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/1.095, allocations: 10.23 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/1.096, allocations: 8.438 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/1.096, allocations: 141.5 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/1.096, allocations: 0.6816 MB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.361e-05/1.096, allocations: 3.266 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/1.096, allocations: 9.031 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.096, allocations: 0 / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.003428/1.1, allocations: 499.6 kB / 1.095 GB, free: 15.71 MB / 0.8731 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