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.001251/0.001251, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.434/2.434, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001589, allocations: 63.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7945, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002834/0.7974, allocations: 1.496 MB / 0.951 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.7985, allocations: 0.6353 MB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.7986, allocations: 1.25 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.654e-05/0.7986, allocations: 3.938 kB / 0.9517 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.7987, allocations: 13.16 kB / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.7991, allocations: 81.28 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.7992, allocations: 35.45 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.7993, allocations: 14.95 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.7994, allocations: 13.62 kB / 0.9518 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.7995, allocations: 21.28 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.7995, allocations: 6.656 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.7998, allocations: 96.8 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.7998, allocations: 13.12 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.7998, allocations: 21.05 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.8001, allocations: 84.89 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8001, allocations: 0 / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8001, allocations: 0 / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.8001, allocations: 3.938 kB / 0.952 GB, free: 7.195 MB / 0.7169 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.00053/0.8006, allocations: 366.8 kB / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.8007, allocations: 13.69 kB / 0.9524 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.8007, allocations: 3.844 kB / 0.9524 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.8009, allocations: 175.8 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.8009, allocations: 384 / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.8009, allocations: 2.469 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.8011, allocations: 60.59 kB / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8011, allocations: 0 / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.8011, allocations: 1.125 kB / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.8012, allocations: 1.125 kB / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.8013, allocations: 34.48 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.8017, allocations: 283.8 kB / 0.9529 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.424e-05/0.8018, allocations: 28.8 kB / 0.953 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.8019, allocations: 14.56 kB / 0.953 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004672/0.8023, allocations: 0.5608 MB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.8024, allocations: 35.88 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8024, allocations: 0 / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000278/0.8027, allocations: 63.83 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.8027, allocations: 56.88 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.8028, allocations: 129.4 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.8028, allocations: 25.7 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.8029, allocations: 86.36 kB / 0.9539 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.8029, allocations: 6 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.8029, allocations: 19.77 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.803, allocations: 315.9 kB / 0.9542 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.8031, allocations: 9.969 kB / 0.9543 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.8031, allocations: 10.55 kB / 0.9543 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.956e-05/0.8032, allocations: 32.69 kB / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8032, allocations: 4 kB / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.8033, allocations: 51.56 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8033, allocations: 4.844 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8034, allocations: 1.188 kB / 0.9544 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8034, allocations: 0 / 0.9544 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.8035, allocations: 8.797 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8035, allocations: 4.031 kB / 0.9544 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.8035, allocations: 10.41 kB / 0.9544 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.8035, allocations: 5.188 kB / 0.9544 GB, free: 4.676 MB / 0.7169 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 6.046e-05/0.8036, allocations: 111 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.8036, allocations: 10.55 kB / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.8038, allocations: 62.69 kB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8038, allocations: 3.984 kB / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8038, allocations: 5.031 kB / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8038, allocations: 0 / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.804, allocations: 169.4 kB / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.804, allocations: 0 / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.804, allocations: 4.312 kB / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.804, allocations: 1.062 kB / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.804, allocations: 0 / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.804, allocations: 1.25 kB / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.804, allocations: 0 / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.8042, allocations: 162.1 kB / 0.9549 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.8042, allocations: 82.11 kB / 0.955 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.8042, allocations: 5.094 kB / 0.955 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.8043, allocations: 5.078 kB / 0.955 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.8043, allocations: 1.125 kB / 0.955 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.8043, allocations: 1.094 kB / 0.955 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.8044, allocations: 94.8 kB / 0.9551 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8044, allocations: 0 / 0.9551 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002228/0.8046, allocations: 17.44 kB / 0.9551 GB, free: 3.93 MB / 0.7169 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.0001432/0.8048, allocations: 103.3 kB / 0.9552 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.8049, allocations: 30.56 kB / 0.9552 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8049, allocations: 0 / 0.9552 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.805, allocations: 12.22 kB / 0.9552 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.8052, allocations: 7.094 kB / 0.9552 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.8055, allocations: 137.8 kB / 0.9554 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.8056, allocations: 0.6883 MB / 0.956 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.8057, allocations: 1.5 kB / 0.956 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.8057, allocations: 10.41 kB / 0.956 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8057, allocations: 0 / 0.956 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of Templates: time 0.003226/0.8089, allocations: 0.5015 MB / 0.9565 GB, free: 2.707 MB / 0.7169 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