Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 107.7 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 200.2 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.776/2.776, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.89 kB / 1.109 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8031, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00197/0.805, allocations: 0.5938 MB / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.8069, allocations: 1.271 MB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.8069, allocations: 0 / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.8069, allocations: 0 / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.8069, allocations: 0 / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.8073, allocations: 67.73 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.648e-05/0.8073, allocations: 8 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.8074, allocations: 3.938 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.283e-05/0.8074, allocations: 0 / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.8074, allocations: 8 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.243e-06/0.8074, allocations: 0 / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.8077, allocations: 91.89 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.8077, allocations: 4 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.8077, allocations: 3.984 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.8078, allocations: 54.61 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8078, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8078, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8078, allocations: 0 / 1.276 GB, free: 2.406 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.0004163/0.8083, allocations: 331.3 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.8083, allocations: 12.03 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.8083, allocations: 0.9375 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.8085, allocations: 164.3 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.8085, allocations: 384 / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.8085, allocations: 384 / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.8086, allocations: 38.02 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.8086, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.8086, allocations: 3.938 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.8086, allocations: 0 / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.8086, allocations: 0 / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.8088, allocations: 157.7 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.8089, allocations: 18.52 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.8089, allocations: 12.95 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007029/0.8096, allocations: 0.5583 MB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.8096, allocations: 42.44 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.8096, allocations: 0 / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.8098, allocations: 29.7 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.8098, allocations: 59.53 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.8099, allocations: 89.86 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.8099, allocations: 25.7 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.8099, allocations: 84.08 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.81, allocations: 0 / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.81, allocations: 13.7 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8101, allocations: 318.8 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/0.8101, allocations: 0 / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-06/0.8101, allocations: 0 / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.8102, allocations: 12.92 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8102, allocations: 0 / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.185e-05/0.8102, allocations: 29.7 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.8102, allocations: 11.94 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.8102, allocations: 0 / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.8103, allocations: 3.984 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.19e-05/0.8103, allocations: 3.938 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.8103, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.8103, allocations: 8.031 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.8103, allocations: 4 kB / 1.278 GB, free: 52 kB / 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 0.0001041/0.8104, allocations: 110.4 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.8104, allocations: 3.938 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.8105, allocations: 40.81 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8105, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.8105, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8105, allocations: 8.016 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.8107, allocations: 149.6 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.8107, allocations: 3.938 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.8107, allocations: 4 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.8107, allocations: 3.938 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.8107, allocations: 3.984 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.8107, allocations: 0 / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8107, allocations: 3.938 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.553e-05/0.8108, allocations: 57.14 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.8108, allocations: 77.11 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.8109, allocations: 3.938 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.8109, allocations: 0 / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.8109, allocations: 3.984 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.8109, allocations: 8 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.8109, allocations: 76.86 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8109, allocations: 3.938 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001883/0.8111, allocations: 4 kB / 1.279 GB, free: 15.4 MB / 0.9825 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.0001792/0.8113, allocations: 107.3 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.484e-05/0.8114, allocations: 7.938 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8114, allocations: 0 / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.8114, allocations: 7.984 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.8115, allocations: 1.562 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.8117, allocations: 100.9 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.812, allocations: 0.669 MB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.691e-05/0.8121, allocations: 8.125 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.8121, allocations: 7.438 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8121, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.00244/0.8145, allocations: 311.2 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.647313142195344]