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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001176/0.001176, allocations: 100.1 kB / 15.88 MB, free: 12 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.001232/0.001232, allocations: 196.6 kB / 16.79 MB, free: 6.828 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6868, allocations: 140.4 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002645/0.6895, allocations: 1.559 MB / 0.9511 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.6906, allocations: 0.6543 MB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.6906, allocations: 1.281 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.6906, allocations: 0 / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.408e-05/0.6907, allocations: 9.406 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.691, allocations: 54.12 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.6911, allocations: 37.92 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.6912, allocations: 19.5 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.6913, allocations: 13.31 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.6913, allocations: 11.98 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.6914, allocations: 6.312 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.6916, allocations: 103.5 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.6916, allocations: 5.172 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.6916, allocations: 16.78 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.6918, allocations: 61.33 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6918, allocations: 0 / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6918, allocations: 1.281 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.6918, allocations: 0 / 0.9521 GB, free: 7.301 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.0004286/0.6922, allocations: 365.3 kB / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.6923, allocations: 12.81 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.6923, allocations: 3.594 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.065e-05/0.6924, allocations: 174.9 kB / 0.9526 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6924, allocations: 5.75 kB / 0.9526 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.6925, allocations: 2.938 kB / 0.9526 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.6926, allocations: 59.3 kB / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6926, allocations: 0 / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.6926, allocations: 0 / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6927, allocations: 1.656 kB / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.6928, allocations: 35 kB / 0.9527 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.6931, allocations: 279.1 kB / 0.953 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.09e-05/0.6932, allocations: 31.66 kB / 0.953 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.6932, allocations: 15.8 kB / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003555/0.6936, allocations: 0.5606 MB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.6936, allocations: 36.22 kB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6936, allocations: 0 / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002379/0.6939, allocations: 71.42 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.6939, allocations: 52.53 kB / 0.9537 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.694, allocations: 125.6 kB / 0.9538 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-06/0.694, allocations: 26.86 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.694, allocations: 94.59 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.694, allocations: 3.906 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.6941, allocations: 13.12 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.6941, allocations: 320 kB / 0.9543 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.6942, allocations: 9.578 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.6942, allocations: 9.969 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.99e-05/0.6943, allocations: 29.16 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6943, allocations: 0 / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/0.6944, allocations: 60.77 kB / 0.9544 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.6944, allocations: 4.062 kB / 0.9544 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.6944, allocations: 0 / 0.9544 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.6945, allocations: 1.406 kB / 0.9544 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.6945, allocations: 4.25 kB / 0.9544 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6945, allocations: 4.031 kB / 0.9544 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.6946, allocations: 10.05 kB / 0.9544 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.6946, allocations: 0.75 kB / 0.9544 GB, free: 4.781 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 5.486e-05/0.6946, allocations: 116 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.6947, allocations: 6.5 kB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.6948, allocations: 69.66 kB / 0.9546 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6949, allocations: 1.312 kB / 0.9546 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6949, allocations: 32 / 0.9546 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6949, allocations: 5.469 kB / 0.9546 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.695, allocations: 164.8 kB / 0.9547 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.695, allocations: 0 / 0.9547 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.6951, allocations: 8.391 kB / 0.9547 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6951, allocations: 0 / 0.9547 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.6951, allocations: 1.375 kB / 0.9547 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6951, allocations: 0 / 0.9547 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-06/0.6951, allocations: 0 / 0.9547 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.6952, allocations: 158 kB / 0.9549 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.6953, allocations: 82.53 kB / 0.955 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.6953, allocations: 5.531 kB / 0.955 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.6953, allocations: 5.484 kB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.6954, allocations: 5.406 kB / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.6954, allocations: 3.938 kB / 0.955 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.6954, allocations: 98.36 kB / 0.9551 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6954, allocations: 0 / 0.9551 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002281/0.6957, allocations: 17.47 kB / 0.9551 GB, free: 4.023 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.0001457/0.6958, allocations: 107.8 kB / 0.9552 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.696, allocations: 21.86 kB / 0.9552 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.696, allocations: 1.375 kB / 0.9552 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.696, allocations: 15.27 kB / 0.9552 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.6963, allocations: 3.938 kB / 0.9552 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.6965, allocations: 179.8 kB / 0.9554 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.6967, allocations: 0.6801 MB / 0.9561 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.6967, allocations: 9.812 kB / 0.9561 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6967, allocations: 0 / 0.9561 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of Templates: time 0.002203/0.6989, allocations: 0.7099 MB / 0.9568 GB, free: 2.676 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches