Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00556/0.00556, allocations: 99.36 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3621, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001755/0.3638, allocations: 0.5898 MB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3656, allocations: 1.252 MB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.3657, allocations: 0 / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.3657, allocations: 0 / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-06/0.3657, allocations: 0 / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.3661, allocations: 71.75 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.3662, allocations: 3.984 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.3662, allocations: 4 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.58e-05/0.3663, allocations: 0 / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.3663, allocations: 3.938 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.3663, allocations: 0 / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.3666, allocations: 99.88 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.3666, allocations: 0 / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.3666, allocations: 4 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3668, allocations: 47.94 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3668, allocations: 11.94 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3668, allocations: 0 / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.3668, allocations: 0 / 1.21 GB, free: 7.551 MB / 0.9669 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.0003603/0.3672, allocations: 323.6 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3672, allocations: 12.62 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3673, allocations: 0.9375 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3674, allocations: 160.4 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3674, allocations: 384 / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.3674, allocations: 384 / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.3675, allocations: 42 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3675, allocations: 0 / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3675, allocations: 0 / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3675, allocations: 0 / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.3676, allocations: 0 / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.3677, allocations: 149.7 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.686e-05/0.3678, allocations: 18.52 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.3678, allocations: 4.859 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006322/0.3684, allocations: 0.5701 MB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3685, allocations: 38.44 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.3685, allocations: 0 / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.3686, allocations: 37.62 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3687, allocations: 51.41 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.898e-05/0.3687, allocations: 93.98 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.3687, allocations: 29.7 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.3688, allocations: 84.14 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.3688, allocations: 3.906 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.3688, allocations: 9.719 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3689, allocations: 310.8 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.369, allocations: 7.938 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.369, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.369, allocations: 12.92 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.369, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.278e-05/0.3691, allocations: 41.62 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3691, allocations: 13.5 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3691, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3691, allocations: 3.984 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.19e-05/0.3692, allocations: 0 / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3692, allocations: 0 / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.3692, allocations: 0 / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3692, allocations: 4.031 kB / 1.212 GB, free: 5.207 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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 7.131e-05/0.3693, allocations: 109.8 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.3693, allocations: 7.922 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/0.3694, allocations: 36.83 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3694, allocations: 4 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3694, allocations: 0 / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3694, allocations: 0 / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.3695, allocations: 149.7 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3695, allocations: 3.938 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.3696, allocations: 4 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3696, allocations: 3.938 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.3696, allocations: 0 / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3696, allocations: 4 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3696, allocations: 0 / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.648e-05/0.3697, allocations: 61.12 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.3697, allocations: 85.08 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.3697, allocations: 3.938 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-06/0.3697, allocations: 0 / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.3698, allocations: 0 / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3698, allocations: 4 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.69e-05/0.3698, allocations: 75.78 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3698, allocations: 0 / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000191/0.37, allocations: 8 kB / 1.212 GB, free: 4.559 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.0001854/0.3702, allocations: 111.2 kB / 1.212 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.041e-05/0.3703, allocations: 7.938 kB / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3703, allocations: 0 / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.231e-06/0.3703, allocations: 0 / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.3704, allocations: 11.94 kB / 1.212 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.3706, allocations: 80.94 kB / 1.212 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.3709, allocations: 0.6729 MB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.3709, allocations: 12.06 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.3709, allocations: 7.438 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.3709, allocations: 0 / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of Templates: time 0.00242/0.3734, allocations: 307.1 kB / 1.213 GB, free: 3.301 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches