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.0008093/0.0008093, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001834, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007325/0.0007325, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009724/0.001705, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.976/0.976, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08362/1.06, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.407/2.407, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2698/2.676, allocations: 145.9 MB / 0.817 GB, free: 4.188 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.152e-06/1.152e-06, allocations: 0 / 0.8184 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.259e-05, allocations: 4.703 kB / 0.8184 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009414/0.000954, allocations: 0.6461 MB / 0.819 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.002073, allocations: 1.33 MB / 0.8203 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-06/0.002082, allocations: 4 kB / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-06/0.002085, allocations: 0 / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.41e-07/0.002086, allocations: 0 / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.002262, allocations: 71.61 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.864e-05/0.002301, allocations: 4 kB / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.002334, allocations: 0 / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.002365, allocations: 0 / 0.8204 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.954e-05/0.002404, allocations: 4 kB / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.002413, allocations: 0 / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.002642, allocations: 111.9 kB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.093e-06/0.002649, allocations: 4 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 9.167e-06/0.002658, allocations: 0 / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.002774, allocations: 71.75 kB / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.002786, allocations: 0 / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.12e-07/0.002786, allocations: 4 kB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.002798, allocations: 0 / 0.8206 GB, free: 0.543 MB / 0.7917 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.0002378/0.003036, allocations: 232.5 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.003066, allocations: 12.62 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.014e-05/0.003087, allocations: 4.938 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.682e-05/0.003133, allocations: 105.7 kB / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.003141, allocations: 384 / 0.8209 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-06/0.003148, allocations: 4.375 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.122e-05/0.003209, allocations: 30.25 kB / 0.8209 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-06/0.003214, allocations: 192 / 0.8209 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-06/0.003219, allocations: 4.375 kB / 0.8209 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.003223, allocations: 3.938 kB / 0.8209 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.176e-05/0.003235, allocations: 4 kB / 0.8209 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.045e-05/0.003295, allocations: 57.05 kB / 0.821 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.003335, allocations: 26.53 kB / 0.821 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-06/0.003345, allocations: 4.859 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.003548, allocations: 44.02 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.003571, allocations: 34.56 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.003572, allocations: 0 / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.117e-05/0.003643, allocations: 29.7 kB / 0.8211 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.003668, allocations: 59.28 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.27e-05/0.003691, allocations: 93.86 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.003698, allocations: 25.7 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.00373, allocations: 80.14 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.003752, allocations: 0 / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.003771, allocations: 13.72 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.003838, allocations: 318.8 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.003843, allocations: 4.125 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-06/0.003846, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.99e-05/0.003866, allocations: 12.84 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.003868, allocations: 0 / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.39e-05/0.003892, allocations: 29.7 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.003901, allocations: 4 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.003906, allocations: 7.938 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.003914, allocations: 0 / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/0.003949, allocations: 3.984 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.003952, allocations: 96 / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-06/0.003958, allocations: 4 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.003963, allocations: 7.938 kB / 0.8218 GB, free: 15.16 MB / 0.8073 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.0001377/0.004101, allocations: 113.8 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-06/0.004104, allocations: 0 / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.004154, allocations: 36.69 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.004155, allocations: 0 / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-06/0.004156, allocations: 0 / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.004159, allocations: 0 / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.99e-05/0.004199, allocations: 69.88 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.004199, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-06/0.004205, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-06/0.00421, allocations: 8 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.004211, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-06/0.004213, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.004214, allocations: 3.938 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.004217, allocations: 11.97 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.743e-05/0.004254, allocations: 57.08 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-06/0.00426, allocations: 0 / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-06/0.004264, allocations: 8.031 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-06/0.004273, allocations: 3.938 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.004274, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.779e-06/0.004279, allocations: 4.859 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004279, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001013/0.00438, allocations: 15.92 kB / 0.8221 GB, free: 14.78 MB / 0.8073 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.000103/0.004483, allocations: 92.41 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.265e-05/0.004526, allocations: 8.797 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.004531, allocations: 7.984 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.004535, allocations: 8.922 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.346e-05/0.004578, allocations: 7.938 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001254/0.004704, allocations: 86.14 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.391e-05/0.004728, allocations: 55.36 kB / 0.8223 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.205e-05/0.00474, allocations: 0 / 0.8223 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.004762, allocations: 47.38 kB / 0.8224 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.004763, allocations: 0 / 0.8224 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.001697/0.00646, allocations: 468.5 kB / 0.8228 GB, free: 13.95 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.226058172062039]