Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00105/0.00105, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009324/0.0009324, allocations: 181 kB / 23.35 MB, free: 1.137 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 1.031/1.031, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.401/2.401, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.088e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001841/0.001862, allocations: 1.545 MB / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008956/0.002758, allocations: 0.7242 MB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.002805, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.002832, allocations: 7.922 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.00288, allocations: 15.86 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.003193, allocations: 95.59 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.003281, allocations: 35.84 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.7e-05/0.003358, allocations: 15.98 kB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.542e-05/0.003454, allocations: 27.86 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.003495, allocations: 11.97 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.003507, allocations: 8 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.003662, allocations: 111.8 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.003674, allocations: 11.98 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.003691, allocations: 8 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.003838, allocations: 99.69 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00384, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003841, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.003844, allocations: 4 kB / 0.8412 GB, free: 11.5 MB / 0.8073 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.0002774/0.004121, allocations: 268.5 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.004152, allocations: 12.62 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.686e-05/0.004249, allocations: 24.92 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.004363, allocations: 121.7 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.004371, allocations: 384 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.004382, allocations: 4.375 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.14e-05/0.004464, allocations: 58.94 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.00447, allocations: 192 / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.004477, allocations: 384 / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004484, allocations: 3.938 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.004503, allocations: 15.97 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.004817, allocations: 160.2 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.303e-05/0.00486, allocations: 26.58 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.004871, allocations: 8.859 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.005019, allocations: 36.02 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.005037, allocations: 38.5 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005038, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.564e-05/0.005134, allocations: 41.62 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.005159, allocations: 55.53 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.00521, allocations: 114.8 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.005218, allocations: 29.7 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.005251, allocations: 88.06 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.005266, allocations: 7.953 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.005288, allocations: 13.7 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.005354, allocations: 314.8 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.005362, allocations: 0 / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-06/0.005368, allocations: 0 / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.422e-05/0.005392, allocations: 28.77 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005394, allocations: 64 / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.167e-05/0.005436, allocations: 41.64 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.005447, allocations: 4 kB / 0.8427 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.00545, allocations: 0 / 0.8427 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.00546, allocations: 0 / 0.8427 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.005504, allocations: 7.984 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.005506, allocations: 0 / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.005518, allocations: 3.938 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.005526, allocations: 4 kB / 0.8427 GB, free: 9.84 MB / 0.8073 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 4.617e-05/0.005572, allocations: 105.8 kB / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.005586, allocations: 15.91 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.005652, allocations: 49.25 kB / 0.8429 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.005654, allocations: 0 / 0.8429 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.005655, allocations: 0 / 0.8429 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005658, allocations: 4 kB / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.844e-05/0.005737, allocations: 61.91 kB / 0.8429 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.005739, allocations: 3.984 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.752e-05/0.005756, allocations: 7.984 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005757, allocations: 0 / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.005761, allocations: 4 kB / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.005763, allocations: 7.969 kB / 0.843 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005764, allocations: 0 / 0.843 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.64e-05/0.00583, allocations: 139.5 kB / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.005838, allocations: 8 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.005845, allocations: 0 / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.005872, allocations: 3.938 kB / 0.8431 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.005894, allocations: 3.984 kB / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.005897, allocations: 8 kB / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.142e-05/0.005909, allocations: 9.234 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005909, allocations: 0 / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000133/0.006042, allocations: 19.92 kB / 0.8431 GB, free: 9.348 MB / 0.8073 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.00012/0.006162, allocations: 100.4 kB / 0.8432 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.89e-05/0.006211, allocations: 8.859 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.006213, allocations: 3.938 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.006225, allocations: 8.859 kB / 0.8433 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.934e-05/0.006325, allocations: 10.19 kB / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.006664, allocations: 136.7 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.006695, allocations: 55.34 kB / 0.8434 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.006713, allocations: 4 kB / 0.8434 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.006745, allocations: 55.31 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.006745, allocations: 0 / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of Templates: time 0.002051/0.008796, allocations: 0.5795 MB / 0.8441 GB, free: 8.336 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.349162297789007]