Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007219/0.007219, allocations: 99.62 kB / 15.73 MB, free: 6.445 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.001665/0.001665, allocations: 190.8 kB / 16.67 MB, free: 6.348 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.828/2.828, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 67.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3357, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002476/0.3382, allocations: 1.501 MB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3396, allocations: 0.6436 MB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.3397, allocations: 0 / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.22e-05/0.3397, allocations: 3.938 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.072e-05/0.3398, allocations: 7.922 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.3403, allocations: 79.73 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.968e-05/0.3404, allocations: 39.86 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3406, allocations: 15.98 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.3407, allocations: 19.92 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.3408, allocations: 15.92 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3408, allocations: 4 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.341, allocations: 91.91 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.3411, allocations: 15.91 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.3411, allocations: 15.94 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3413, allocations: 91.64 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3414, allocations: 0 / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3414, allocations: 0 / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3414, allocations: 0 / 1.169 GB, free: 4.242 MB / 0.92 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.0005253/0.3419, allocations: 367.2 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.342, allocations: 8.031 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.342, allocations: 8.891 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3421, allocations: 172.3 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3422, allocations: 384 / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3422, allocations: 4.375 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3423, allocations: 65.97 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3424, allocations: 3.938 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3424, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3424, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.3425, allocations: 35.97 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.3429, allocations: 280.7 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.343, allocations: 34.56 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.343, allocations: 12.91 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000498/0.3435, allocations: 0.5622 MB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3436, allocations: 34.56 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.3436, allocations: 4 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002475/0.3438, allocations: 69.55 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3439, allocations: 55.41 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.344, allocations: 121.8 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.344, allocations: 25.7 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.3441, allocations: 92.12 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.3441, allocations: 3.953 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.3441, allocations: 21.84 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3443, allocations: 318.8 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-05/0.3443, allocations: 12 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.3444, allocations: 7.984 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.096e-05/0.3445, allocations: 24.84 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3445, allocations: 0 / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001343/0.3446, allocations: 65.64 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3446, allocations: 6.188 kB / 1.171 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3446, allocations: 0 / 1.171 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3447, allocations: 0 / 1.171 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.3447, allocations: 7.984 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3448, allocations: 4 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.3448, allocations: 7.938 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3448, allocations: 0 / 1.171 GB, free: 1.492 MB / 0.92 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.443e-05/0.3449, allocations: 117.8 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3449, allocations: 3.953 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.3451, allocations: 69.14 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3451, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3451, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3451, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.3453, allocations: 169.6 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3453, allocations: 0 / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.3454, allocations: 7.984 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3454, allocations: 4.031 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3454, allocations: 3.938 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3454, allocations: 4 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3454, allocations: 3.938 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.3456, allocations: 147.5 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.3456, allocations: 89.06 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3457, allocations: 0 / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.3457, allocations: 7.969 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.3458, allocations: 7.984 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3458, allocations: 4 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.3458, allocations: 91.27 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3458, allocations: 4 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000229/0.3461, allocations: 11.94 kB / 1.172 GB, free: 0.6562 MB / 0.92 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.00017/0.3462, allocations: 107.2 kB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.3464, allocations: 27.98 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3464, allocations: 0 / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.3465, allocations: 11.98 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3467, allocations: 4 kB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.347, allocations: 138.5 kB / 1.172 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.3473, allocations: 0.6807 MB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.3473, allocations: 12.11 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.3473, allocations: 7.438 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3473, allocations: 0 / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.002603/0.35, allocations: 492.7 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches