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.00115/0.00115, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01129/0.01129, allocations: 170 kB / 16.26 MB, free: 6.613 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.51/2.51, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003882, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8764/0.8768, allocations: 142.4 MB / 0.955 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001916/0.8787, allocations: 1.22 MB / 0.9562 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.8799, allocations: 0.6329 MB / 0.9568 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.88, allocations: 1.438 kB / 0.9568 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.88, allocations: 7.984 kB / 0.9569 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.8801, allocations: 3.938 kB / 0.9569 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.8805, allocations: 62.33 kB / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.946e-05/0.8806, allocations: 34.89 kB / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.8807, allocations: 13.25 kB / 0.957 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.8808, allocations: 10.22 kB / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.8809, allocations: 20.39 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.8809, allocations: 1.219 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.8811, allocations: 99.56 kB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.8811, allocations: 5.094 kB / 0.9571 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.8812, allocations: 37.17 kB / 0.9571 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.8814, allocations: 88.88 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8814, allocations: 3.938 kB / 0.9572 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8814, allocations: 0 / 0.9572 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8814, allocations: 0.9688 kB / 0.9572 GB, free: 6.02 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.000423/0.8819, allocations: 363.4 kB / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8819, allocations: 9.719 kB / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.8819, allocations: 3.469 kB / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.8821, allocations: 174.6 kB / 0.9577 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.8821, allocations: 1.812 kB / 0.9577 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.8821, allocations: 5.906 kB / 0.9578 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.8823, allocations: 54.38 kB / 0.9578 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8823, allocations: 0 / 0.9578 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.8823, allocations: 8 kB / 0.9578 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.8823, allocations: 1.062 kB / 0.9578 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.797e-05/0.8824, allocations: 31.89 kB / 0.9578 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.8828, allocations: 281.9 kB / 0.9581 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.8829, allocations: 34.89 kB / 0.9581 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.8829, allocations: 20.22 kB / 0.9582 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/0.8833, allocations: 0.5551 MB / 0.9587 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.8833, allocations: 35.81 kB / 0.9587 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8833, allocations: 4 kB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002687/0.8836, allocations: 69.23 kB / 0.9588 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.8836, allocations: 52.53 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.8838, allocations: 125.7 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.8838, allocations: 26.77 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.8838, allocations: 85.64 kB / 0.9591 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.8839, allocations: 9.219 kB / 0.9591 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.8839, allocations: 15.28 kB / 0.9591 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.884, allocations: 320.4 kB / 0.9594 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/0.884, allocations: 11.47 kB / 0.9594 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.8841, allocations: 15.77 kB / 0.9594 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/0.8842, allocations: 31.88 kB / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8842, allocations: 1.469 kB / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001449/0.8844, allocations: 66.02 kB / 0.9595 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.8844, allocations: 6.812 kB / 0.9595 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8844, allocations: 3.938 kB / 0.9595 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.8844, allocations: 1.781 kB / 0.9596 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.8845, allocations: 13.45 kB / 0.9596 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.8845, allocations: 0 / 0.9596 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.8846, allocations: 7.531 kB / 0.9596 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.8846, allocations: 0 / 0.9596 GB, free: 3.504 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 8.128e-05/0.8847, allocations: 115.5 kB / 0.9597 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.8847, allocations: 7.438 kB / 0.9597 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.8849, allocations: 68.95 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.885, allocations: 1.906 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.885, allocations: 4 kB / 0.9598 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.885, allocations: 0 / 0.9598 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.8852, allocations: 169.5 kB / 0.9599 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8852, allocations: 0 / 0.9599 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.8853, allocations: 9.391 kB / 0.9599 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8853, allocations: 0 / 0.9599 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8853, allocations: 1.344 kB / 0.9599 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.8853, allocations: 0 / 0.9599 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8853, allocations: 4.031 kB / 0.9599 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.8855, allocations: 161.9 kB / 0.9601 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.8856, allocations: 82.39 kB / 0.9602 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.8856, allocations: 5.312 kB / 0.9602 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.8857, allocations: 2.75 kB / 0.9602 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.8857, allocations: 8.016 kB / 0.9602 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.8857, allocations: 1.375 kB / 0.9602 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.343e-05/0.8858, allocations: 94.27 kB / 0.9603 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8858, allocations: 0 / 0.9603 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002545/0.8861, allocations: 13.56 kB / 0.9603 GB, free: 2.754 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.000207/0.8863, allocations: 107.9 kB / 0.9604 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.8865, allocations: 29.86 kB / 0.9604 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8865, allocations: 0 / 0.9604 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.8865, allocations: 17.55 kB / 0.9604 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.8868, allocations: 5.375 kB / 0.9604 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.8872, allocations: 148.8 kB / 0.9606 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.8874, allocations: 0.6851 MB / 0.9613 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.8874, allocations: 6.734 kB / 0.9613 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.8875, allocations: 8.812 kB / 0.9613 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/0.8875, allocations: 0 / 0.9613 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.003623/0.8911, allocations: 450.1 kB / 0.9617 GB, free: 1.559 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