Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.159/1.159, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009802/0.0009801, allocations: 181.4 kB / 316 MB, free: 7.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.1 MB / 0.5667 GB, free: 23.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008027/0.0008026, allocations: 88.47 kB / 0.671 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.835e-06, allocations: 4 kB / 0.7807 GB, free: 436 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3675, allocations: 106.3 MB / 0.8846 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.5035, allocations: 132.1 MB / 1.014 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.5038, allocations: 67.97 kB / 1.014 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.0059/0.5097, allocations: 1.82 MB / 1.015 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.5097, allocations: 4 kB / 1.015 GB, free: 6.094 MB / 0.6667 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.0003062/0.51, allocations: 362.2 kB / 1.016 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.5101, allocations: 8.031 kB / 1.016 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.5101, allocations: 7.906 kB / 1.016 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5102, allocations: 171 kB / 1.016 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5103, allocations: 3.906 kB / 1.016 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.5103, allocations: 8 kB / 1.016 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.204e-05/0.5104, allocations: 23.88 kB / 1.016 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.07e-05/0.5104, allocations: 41.69 kB / 1.016 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.5105, allocations: 0 / 1.016 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.5105, allocations: 0 / 1.016 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5105, allocations: 4 kB / 1.016 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.5108, allocations: 253.4 kB / 1.016 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.5108, allocations: 30.52 kB / 1.016 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.5109, allocations: 7.328 kB / 1.016 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004111/0.5113, allocations: 0.5622 MB / 1.017 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.5113, allocations: 30.56 kB / 1.017 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5113, allocations: 4 kB / 1.017 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0001723/0.5115, allocations: 45.69 kB / 1.017 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.5115, allocations: 51.41 kB / 1.017 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.5116, allocations: 97 kB / 1.017 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.5116, allocations: 25.7 kB / 1.017 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.5117, allocations: 92.03 kB / 1.017 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.5117, allocations: 11.84 kB / 1.017 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.5117, allocations: 0 / 1.017 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5118, allocations: 314.9 kB / 1.018 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.5119, allocations: 7.938 kB / 1.018 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.5119, allocations: 8 kB / 1.018 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.5119, allocations: 7.984 kB / 1.018 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.5119, allocations: 0 / 1.018 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.481e-05/0.512, allocations: 45.61 kB / 1.018 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.512, allocations: 4 kB / 1.018 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.512, allocations: 0 / 1.018 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.512, allocations: 0 / 1.018 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.5121, allocations: 16.08 kB / 1.018 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.5121, allocations: 0 / 1.018 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.5122, allocations: 11.98 kB / 1.018 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.5122, allocations: 3.938 kB / 1.018 GB, free: 3.543 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.446e-05/0.5123, allocations: 105 kB / 1.018 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.5123, allocations: 7.906 kB / 1.018 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.5124, allocations: 65.19 kB / 1.018 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.5124, allocations: 0 / 1.018 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5125, allocations: 0 / 1.018 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.5125, allocations: 0 / 1.018 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.5126, allocations: 146.1 kB / 1.018 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5126, allocations: 0 / 1.018 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.5127, allocations: 4 kB / 1.018 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5127, allocations: 0 / 1.018 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.5127, allocations: 4 kB / 1.018 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.5127, allocations: 3.938 kB / 1.018 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5127, allocations: 4.031 kB / 1.018 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001264/0.5128, allocations: 147.4 kB / 1.018 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.5129, allocations: 77.11 kB / 1.018 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.5129, allocations: 7.891 kB / 1.018 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.513, allocations: 4 kB / 1.018 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.513, allocations: 0 / 1.018 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.513, allocations: 8.031 kB / 1.018 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.509e-05/0.5131, allocations: 83.28 kB / 1.018 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002135/0.5133, allocations: 11.98 kB / 1.018 GB, free: 2.793 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.5134, allocations: 111.2 kB / 1.018 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 6.782e-05/0.5135, allocations: 12 kB / 1.018 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.5135, allocations: 0 / 1.018 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.5135, allocations: 4 kB / 1.018 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.5137, allocations: 4.672 kB / 1.018 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.5139, allocations: 79.7 kB / 1.018 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.5141, allocations: 0.688 MB / 1.019 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/0.5142, allocations: 0 / 1.019 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of Templates: time 0.001992/0.5161, allocations: 449.7 kB / 1.02 GB, free: 1.402 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Splice.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches