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.001663/0.001663, allocations: 79.94 kB / 19.18 MB, free: 2.379 MB / 14.72 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.001838/0.001838, allocations: 172.8 kB / 22.46 MB, free: 4.996 MB / 14.72 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.433/1.433, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.843/2.843, allocations: 389 MB / 0.633 GB, free: 1.031 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.543e-06/1.543e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.493e-05, allocations: 9.938 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001509/0.001534, allocations: 0.5921 MB / 1.001 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.003374, allocations: 1.268 MB / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.003394, allocations: 0 / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.115e-05/0.003405, allocations: 0 / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.003411, allocations: 0 / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.003783, allocations: 87.55 kB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 3.691e-05/0.00382, allocations: 4 kB / 1.002 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.003855, allocations: 7.922 kB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.003879, allocations: 4 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.669e-05/0.003915, allocations: 0 / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.003925, allocations: 0 / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.00423, allocations: 99.89 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.004239, allocations: 0 / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.004263, allocations: 4 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.004431, allocations: 79.77 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004434, allocations: 4 kB / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004435, allocations: 0 / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.004438, allocations: 0 / 1.002 GB, free: 5.098 MB / 0.9512 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.0003231/0.004761, allocations: 258.2 kB / 1.003 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.004795, allocations: 8.031 kB / 1.003 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.004824, allocations: 0.9375 kB / 1.003 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.004922, allocations: 105.8 kB / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.004934, allocations: 384 / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.004941, allocations: 384 / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.00504, allocations: 30.27 kB / 1.003 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.005053, allocations: 12.11 kB / 1.003 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.00506, allocations: 384 / 1.003 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005065, allocations: 3.938 kB / 1.003 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.005083, allocations: 3.938 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.005207, allocations: 101.3 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.273e-05/0.00525, allocations: 14.58 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.005278, allocations: 12.94 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/0.005597, allocations: 43.97 kB / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.005626, allocations: 30.56 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.005627, allocations: 0 / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.005759, allocations: 41.62 kB / 1.003 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.005801, allocations: 55.34 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.668e-05/0.005858, allocations: 93.86 kB / 1.003 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.005875, allocations: 25.7 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.005909, allocations: 80.14 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.005936, allocations: 0 / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.005969, allocations: 13.72 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.006119, allocations: 311 kB / 1.003 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.006129, allocations: 8 kB / 1.003 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.006139, allocations: 7.984 kB / 1.003 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.006162, allocations: 4.859 kB / 1.004 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006164, allocations: 7.875 kB / 1.004 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.834e-05/0.006222, allocations: 37.7 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.006235, allocations: 4 kB / 1.004 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.006238, allocations: 0 / 1.004 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.00625, allocations: 0 / 1.004 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.006288, allocations: 4 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.006294, allocations: 8.031 kB / 1.004 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.006307, allocations: 3.953 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.006311, allocations: 0 / 1.004 GB, free: 3.621 MB / 0.9512 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 8.547e-05/0.006396, allocations: 113.8 kB / 1.004 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-06/0.006404, allocations: 0 / 1.004 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.006493, allocations: 40.64 kB / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006494, allocations: 0 / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.006497, allocations: 0 / 1.004 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.006504, allocations: 11.97 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.809e-05/0.006582, allocations: 97.31 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006583, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.006597, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.006598, allocations: 4 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.006604, allocations: 0 / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.006604, allocations: 0 / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006605, allocations: 3.938 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.38e-05/0.006689, allocations: 61.06 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.006695, allocations: 4 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.006703, allocations: 4.031 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-06/0.006713, allocations: 0 / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.006726, allocations: 7.938 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.006728, allocations: 0 / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.828e-05/0.006766, allocations: 79.22 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006766, allocations: 0 / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002039/0.00697, allocations: 8 kB / 1.004 GB, free: 3.129 MB / 0.9512 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.0001853/0.007156, allocations: 115.2 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.007222, allocations: 4 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007223, allocations: 8 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-06/0.00723, allocations: 0 / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.00736, allocations: 14.33 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.007553, allocations: 73.08 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.802e-05/0.007611, allocations: 55.36 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.561e-05/0.007627, allocations: 0 / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.007651, allocations: 16.44 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of SimCode: time 6.92e-07/0.007652, allocations: 0 / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of Templates: time 0.002703/0.01036, allocations: 400.5 kB / 1.005 GB, free: 2.406 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 800] 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: 7.7571641355752945]