Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 170.4 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9835/0.9835, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.831/1.831, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.819e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003196/0.003225, allocations: 1.544 MB / 0.7898 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.00453, allocations: 0.7036 MB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.004599, allocations: 4 kB / 0.7905 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.004633, allocations: 9.141 kB / 0.7905 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.004693, allocations: 7.875 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.005132, allocations: 108.2 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.005246, allocations: 41.39 kB / 0.7907 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.005343, allocations: 8 kB / 0.7907 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.005491, allocations: 27.95 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.005547, allocations: 15.92 kB / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.00556, allocations: 3.531 kB / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.00572, allocations: 107.9 kB / 0.7908 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.005732, allocations: 4 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.005751, allocations: 19.91 kB / 0.7909 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.005908, allocations: 103.6 kB / 0.791 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005911, allocations: 0 / 0.791 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005912, allocations: 0 / 0.791 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005917, allocations: 0 / 0.791 GB, free: 9.516 MB / 0.7448 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.0003143/0.006231, allocations: 396.3 kB / 0.7913 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.006264, allocations: 8.75 kB / 0.7913 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.006372, allocations: 16.92 kB / 0.7914 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.006513, allocations: 126.2 kB / 0.7915 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.00652, allocations: 384 / 0.7915 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.006528, allocations: 8.375 kB / 0.7915 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.006617, allocations: 58.92 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.006624, allocations: 1.094 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.006632, allocations: 4.375 kB / 0.7915 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.006637, allocations: 4.969 kB / 0.7915 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.006655, allocations: 8 kB / 0.7916 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.006872, allocations: 256.3 kB / 0.7918 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.108e-05/0.006913, allocations: 28.41 kB / 0.7918 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.006926, allocations: 7.688 kB / 0.7918 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.007073, allocations: 41.91 kB / 0.7919 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.007095, allocations: 45.31 kB / 0.7919 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.007096, allocations: 0 / 0.7919 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001197/0.007216, allocations: 34.55 kB / 0.792 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.00724, allocations: 53.16 kB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.00731, allocations: 170 kB / 0.7922 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.007318, allocations: 25.7 kB / 0.7922 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.007366, allocations: 146.7 kB / 0.7923 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.007383, allocations: 11.89 kB / 0.7923 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.007408, allocations: 16 kB / 0.7924 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.007529, allocations: 0.4923 MB / 0.7928 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.007542, allocations: 4.688 kB / 0.7928 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.007553, allocations: 8.5 kB / 0.7928 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.00758, allocations: 12.81 kB / 0.7929 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007582, allocations: 0 / 0.7929 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.06e-05/0.007643, allocations: 42.16 kB / 0.7929 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.007657, allocations: 4 kB / 0.7929 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.007662, allocations: 1.25 kB / 0.7929 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.007673, allocations: 4 kB / 0.7929 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.007721, allocations: 4 kB / 0.7929 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007724, allocations: 1.094 kB / 0.7929 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.00774, allocations: 4 kB / 0.7929 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.007745, allocations: 0 / 0.7929 GB, free: 7.316 MB / 0.7448 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.791e-05/0.007813, allocations: 169.4 kB / 0.7931 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.007832, allocations: 7.891 kB / 0.7931 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.116e-05/0.007923, allocations: 42.09 kB / 0.7931 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.007927, allocations: 4.969 kB / 0.7931 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007928, allocations: 0 / 0.7931 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007931, allocations: 0 / 0.7931 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.008031, allocations: 106.4 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008033, allocations: 0 / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.008059, allocations: 4 kB / 0.7932 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008061, allocations: 0.8438 kB / 0.7932 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008067, allocations: 7.938 kB / 0.7932 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.008068, allocations: 2.219 kB / 0.7932 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008069, allocations: 0 / 0.7932 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.798e-05/0.008167, allocations: 191.8 kB / 0.7934 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.008173, allocations: 0 / 0.7934 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.008184, allocations: 3.938 kB / 0.7934 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.949e-05/0.008213, allocations: 8 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.008238, allocations: 6.859 kB / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.00824, allocations: 0 / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.00828, allocations: 131.2 kB / 0.7936 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.00828, allocations: 0 / 0.7936 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001761/0.008456, allocations: 19.88 kB / 0.7936 GB, free: 6.574 MB / 0.7448 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.0001385/0.008595, allocations: 111.2 kB / 0.7937 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.43e-05/0.008659, allocations: 21.12 kB / 0.7937 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00866, allocations: 0 / 0.7937 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-05/0.008677, allocations: 15.69 kB / 0.7937 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.008827, allocations: 1.281 kB / 0.7937 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.009183, allocations: 148.3 kB / 0.7939 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.417e-05/0.009217, allocations: 59.34 kB / 0.7939 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.009235, allocations: 0 / 0.7939 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.009271, allocations: 71.3 kB / 0.794 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.009272, allocations: 0 / 0.794 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of Templates: time 0.002244/0.01152, allocations: 0.6257 MB / 0.7946 GB, free: 5.488 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1790775042027235]