Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001582/0.001582, allocations: 110.8 kB / 16.41 MB, free: 6.453 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.001731/0.001731, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.376/2.376, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7716, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001871/0.7735, allocations: 0.5829 MB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.7752, allocations: 1.25 MB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.7752, allocations: 4 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.7753, allocations: 4 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.7753, allocations: 0 / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.7757, allocations: 64.75 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.7758, allocations: 0 / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.7758, allocations: 0 / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.398e-05/0.7759, allocations: 4 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.7759, allocations: 3.984 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.747e-06/0.7759, allocations: 0 / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.7762, allocations: 99.89 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.7762, allocations: 0 / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.7762, allocations: 7.938 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.7764, allocations: 52.92 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7764, allocations: 0 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7764, allocations: 3.938 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.7764, allocations: 0 / 1.169 GB, free: 1.734 MB / 0.8887 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.0003319/0.7768, allocations: 331 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7768, allocations: 8.922 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.7769, allocations: 0.9375 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.777, allocations: 172.3 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.777, allocations: 4.375 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.777, allocations: 384 / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.7771, allocations: 30.02 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.7771, allocations: 0 / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7771, allocations: 4 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.7772, allocations: 4 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.7772, allocations: 0 / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.7773, allocations: 141.7 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.7774, allocations: 30.53 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.7774, allocations: 4.859 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006198/0.7781, allocations: 0.5623 MB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.7781, allocations: 38.5 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.7781, allocations: 0 / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.7783, allocations: 41.64 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.7783, allocations: 55.41 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.232e-05/0.7784, allocations: 89.86 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.7784, allocations: 25.7 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.7784, allocations: 80.14 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.7785, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.7785, allocations: 17.59 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7786, allocations: 310.8 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.7786, allocations: 4.125 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.7786, allocations: 7.984 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.7787, allocations: 8.859 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7787, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.499e-05/0.7787, allocations: 29.7 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7788, allocations: 7.938 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7788, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7788, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/0.7788, allocations: 4.094 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.7789, allocations: 7.938 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.7789, allocations: 3.938 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.7789, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 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.085e-05/0.779, allocations: 113.8 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.779, allocations: 3.938 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.994e-05/0.7791, allocations: 40.83 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.7791, allocations: 11.95 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7791, allocations: 0 / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7791, allocations: 0 / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.243e-05/0.7792, allocations: 149.7 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7792, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.7792, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.7792, allocations: 3.938 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.7793, allocations: 4 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7793, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7793, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.148e-05/0.7793, allocations: 65.06 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.7794, allocations: 81.11 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.7794, allocations: 3.938 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-06/0.7794, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.7794, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.7794, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.7795, allocations: 75.28 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.7795, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001982/0.7797, allocations: 12.03 kB / 1.172 GB, free: 14.72 MB / 0.9044 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.0001822/0.7799, allocations: 111.2 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.365e-05/0.78, allocations: 11.94 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.78, allocations: 0 / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.025e-06/0.78, allocations: 0 / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.7801, allocations: 10.59 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.7803, allocations: 101.1 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.7806, allocations: 0.6729 MB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.7806, allocations: 7.438 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.7806, allocations: 4 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of Templates: time 0.001824/0.7824, allocations: 439.7 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches