Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 249.3 MB / 261.8 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001565, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.001306/0.001306, allocations: 86.48 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.319e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2509, allocations: 106.3 MB / 0.8918 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.802/1.053, allocations: 131.9 MB / 1.021 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.053, allocations: 78.14 kB / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004558/1.058, allocations: 1.656 MB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.515e-06/1.058, allocations: 3.938 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.416e-06/1.058, allocations: 3.938 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002653/1.058, allocations: 326.5 kB / 1.023 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/1.058, allocations: 8.031 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/1.058, allocations: 0 / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/1.058, allocations: 163 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/1.058, allocations: 0 / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/1.058, allocations: 11.31 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/1.059, allocations: 29.69 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.059, allocations: 0 / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/1.059, allocations: 0 / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.059, allocations: 3.938 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/1.059, allocations: 7.938 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/1.059, allocations: 145.6 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.467e-05/1.059, allocations: 24.2 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/1.059, allocations: 8.859 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/1.06, allocations: 0.5613 MB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/1.06, allocations: 30.56 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/1.06, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 8.755e-05/1.06, allocations: 33.64 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/1.06, allocations: 55.44 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.867e-05/1.06, allocations: 85 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.06, allocations: 29.7 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/1.06, allocations: 80.14 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/1.06, allocations: 3.812 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-06/1.06, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.06, allocations: 314.8 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-06/1.06, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/1.06, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.358e-05/1.06, allocations: 4.062 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/1.06, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.482e-05/1.06, allocations: 33.66 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.06, allocations: 8 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.06, allocations: 8.797 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/1.06, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.79e-05/1.06, allocations: 3.938 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.06, allocations: 4 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/1.06, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/1.06, allocations: 8.016 kB / 1.024 GB, free: 14.97 MB / 0.6511 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 (1): * Single equations (assignments): 1 * 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 8.439e-05/1.06, allocations: 101 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/1.06, allocations: 3.953 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/1.061, allocations: 47.91 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/1.061, allocations: 3.688 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.061, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.061, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/1.061, allocations: 149.7 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.061, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/1.061, allocations: 4 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/1.061, allocations: 3.953 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/1.061, allocations: 7.25 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.061, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.061, allocations: 0.7812 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.183e-05/1.061, allocations: 57.12 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/1.061, allocations: 85.08 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/1.061, allocations: 3.953 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/1.061, allocations: 3.625 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/1.061, allocations: 4 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/1.061, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.557e-05/1.061, allocations: 75.28 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.061, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002102/1.061, allocations: 8 kB / 1.025 GB, free: 14.34 MB / 0.6511 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 (1): * Single equations (assignments): 1 * 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.0002117/1.062, allocations: 115.2 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.153e-05/1.062, allocations: 7.938 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.062, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-06/1.062, allocations: 4 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.971e-05/1.062, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001592/1.062, allocations: 50.06 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/1.062, allocations: 0.677 MB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.677e-05/1.062, allocations: 8.125 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.236e-05/1.062, allocations: 7.438 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of SimCode: time 2.1e-07/1.062, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of Templates: time 0.002003/1.064, allocations: 283 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches