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.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.002201/0.002201, allocations: 88.16 kB / 19.44 MB, free: 188 kB / 13.93 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.002597/0.002597, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.384/3.384, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.183e-05, allocations: 4.125 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002435/0.002467, allocations: 0.606 MB / 0.8781 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.005408, allocations: 1.292 MB / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.838e-05/0.005427, allocations: 0 / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.005439, allocations: 5.625 kB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.005445, allocations: 0 / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.005959, allocations: 83.53 kB / 0.8794 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.23e-05/0.006001, allocations: 7.719 kB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.15e-05/0.006033, allocations: 0 / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.006062, allocations: 0 / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.006104, allocations: 0 / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.006114, allocations: 0 / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.006535, allocations: 111.8 kB / 0.8795 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.006544, allocations: 0 / 0.8795 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.006561, allocations: 4 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.006801, allocations: 75.84 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.006805, allocations: 0 / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006805, allocations: 0.9375 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.006809, allocations: 0 / 0.8796 GB, free: 4.426 MB / 0.8386 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.000517/0.007327, allocations: 357.2 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.007369, allocations: 8.031 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.00742, allocations: 0.9375 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.00755, allocations: 113.7 kB / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.007563, allocations: 384 / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.007574, allocations: 4.359 kB / 0.8801 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.007689, allocations: 39.33 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.007699, allocations: 192 / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.007707, allocations: 384 / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.007716, allocations: 4.906 kB / 0.8801 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.007738, allocations: 0 / 0.8801 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.007924, allocations: 108.6 kB / 0.8802 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/0.008, allocations: 23.72 kB / 0.8803 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.008028, allocations: 12.31 kB / 0.8803 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004345/0.008463, allocations: 41.77 kB / 0.8803 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/0.008521, allocations: 41.33 kB / 0.8803 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.008522, allocations: 1.281 kB / 0.8803 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001834/0.008705, allocations: 33.7 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.008764, allocations: 55.34 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.008884, allocations: 143 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.008914, allocations: 29.7 kB / 0.8806 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.009004, allocations: 127.4 kB / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.009036, allocations: 5.047 kB / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.009094, allocations: 19.36 kB / 0.8807 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003576/0.009452, allocations: 0.4884 MB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.009465, allocations: 0.75 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.787e-06/0.009474, allocations: 0 / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.009521, allocations: 16.59 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009523, allocations: 0 / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.041e-05/0.009613, allocations: 33.3 kB / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.00963, allocations: 8 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.009634, allocations: 0 / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.00965, allocations: 0 / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.0097, allocations: 3.984 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.009708, allocations: 7.938 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.009724, allocations: 0 / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.00973, allocations: 0 / 0.8813 GB, free: 2.539 MB / 0.8386 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 0.0001538/0.009883, allocations: 157.3 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.009901, allocations: 7.984 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.01003, allocations: 46.69 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01003, allocations: 0 / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.01004, allocations: 4 kB / 0.8815 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.01005, allocations: 3.938 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.01021, allocations: 112.9 kB / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01021, allocations: 0 / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.01023, allocations: 0 / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01023, allocations: 0 / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.01024, allocations: 4 kB / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01024, allocations: 4 kB / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01024, allocations: 0 / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.01038, allocations: 76.31 kB / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-06/0.01038, allocations: 0 / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.0104, allocations: 0 / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.01041, allocations: 0 / 0.8817 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.01043, allocations: 4.031 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.01044, allocations: 4 kB / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.792e-05/0.01053, allocations: 123.1 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01053, allocations: 0 / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000365/0.01089, allocations: 15.98 kB / 0.8818 GB, free: 1.914 MB / 0.8386 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.0002522/0.01114, allocations: 107.2 kB / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.98e-05/0.01124, allocations: 15.67 kB / 0.8819 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01125, allocations: 0 / 0.8819 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.01128, allocations: 15.69 kB / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01149, allocations: 4.688 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.01176, allocations: 83.95 kB / 0.882 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.608e-05/0.01184, allocations: 55.36 kB / 0.8821 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.01187, allocations: 3.984 kB / 0.8821 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.0119, allocations: 8.5 kB / 0.8821 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.0119, allocations: 4 kB / 0.8821 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of Templates: time 0.004111/0.01601, allocations: 417.6 kB / 0.8825 GB, free: 1.148 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.360838268999942]