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.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.001871/0.001871, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.0023/0.0023, allocations: 164.9 kB / 22.46 MB, free: 5.359 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.476/1.476, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.727/2.727, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.343e-06/1.343e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.501e-05, allocations: 6.281 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001661/0.001686, allocations: 0.5902 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.003728, allocations: 1.268 MB / 0.9528 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.003744, allocations: 4 kB / 0.9528 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.00376, allocations: 0 / 0.9528 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.003766, allocations: 0 / 0.9528 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.004176, allocations: 79.67 kB / 0.9529 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.004224, allocations: 7.984 kB / 0.9529 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.004267, allocations: 3.938 kB / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.004289, allocations: 0 / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.004324, allocations: 0 / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.004334, allocations: 0 / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.004659, allocations: 119.8 kB / 0.953 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.677e-06/0.004668, allocations: 3.938 kB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.004682, allocations: 0 / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.004857, allocations: 75.84 kB / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004859, allocations: 0 / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00486, allocations: 0 / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.004863, allocations: 0 / 0.9531 GB, free: 9.336 MB / 0.8575 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.0003353/0.005198, allocations: 250.3 kB / 0.9534 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.005237, allocations: 8.031 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.005262, allocations: 0.9375 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.325e-05/0.005355, allocations: 109.8 kB / 0.9535 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.005363, allocations: 4.375 kB / 0.9535 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.005375, allocations: 384 / 0.9535 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.005481, allocations: 34.25 kB / 0.9535 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.00549, allocations: 192 / 0.9535 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.005498, allocations: 384 / 0.9535 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005505, allocations: 3.938 kB / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.005524, allocations: 3.938 kB / 0.9535 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.005664, allocations: 97.33 kB / 0.9536 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.005702, allocations: 14.58 kB / 0.9536 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.005725, allocations: 12.95 kB / 0.9536 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/0.006078, allocations: 47.95 kB / 0.9537 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.006103, allocations: 30.56 kB / 0.9537 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.006105, allocations: 0 / 0.9537 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001583/0.006263, allocations: 37.64 kB / 0.9537 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.006308, allocations: 55.34 kB / 0.9538 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.006358, allocations: 93.8 kB / 0.9539 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.006374, allocations: 25.7 kB / 0.9539 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.006413, allocations: 84.27 kB / 0.954 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.006444, allocations: 3.953 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.00648, allocations: 17.72 kB / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.006618, allocations: 314.8 kB / 0.9543 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.006628, allocations: 0 / 0.9543 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-06/0.006636, allocations: 4 kB / 0.9543 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.006664, allocations: 4.859 kB / 0.9543 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006666, allocations: 3.938 kB / 0.9543 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.475e-05/0.00673, allocations: 33.7 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.006744, allocations: 8.094 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.006748, allocations: 0 / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.006767, allocations: 0 / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.801e-05/0.006815, allocations: 11.98 kB / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.00682, allocations: 3.938 kB / 0.9544 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.006836, allocations: 7.938 kB / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.006841, allocations: 0 / 0.9544 GB, free: 7.863 MB / 0.8575 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.12e-05/0.006922, allocations: 113.8 kB / 0.9545 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-06/0.006929, allocations: 0 / 0.9545 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.447e-05/0.007024, allocations: 44.62 kB / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007025, allocations: 0 / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.007028, allocations: 0 / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.00704, allocations: 11.92 kB / 0.9546 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.037e-05/0.00712, allocations: 97.33 kB / 0.9546 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007121, allocations: 0 / 0.9546 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.007136, allocations: 0 / 0.9546 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007138, allocations: 4 kB / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.007144, allocations: 0 / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007145, allocations: 0 / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007146, allocations: 0 / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.676e-05/0.007222, allocations: 65.09 kB / 0.9547 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-06/0.007226, allocations: 0 / 0.9547 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-06/0.007235, allocations: 0 / 0.9547 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-06/0.007244, allocations: 0 / 0.9547 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.007267, allocations: 7.938 kB / 0.9547 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.007269, allocations: 3.938 kB / 0.9547 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.007303, allocations: 79.22 kB / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.007303, allocations: 0 / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002111/0.007515, allocations: 15.98 kB / 0.9548 GB, free: 7.367 MB / 0.8575 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.000179/0.007694, allocations: 111.2 kB / 0.9549 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.726e-05/0.007761, allocations: 7.984 kB / 0.9549 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007763, allocations: 0 / 0.9549 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/0.007772, allocations: 4 kB / 0.9549 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.007903, allocations: 0 / 0.9549 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.008107, allocations: 84.94 kB / 0.955 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.378e-05/0.008151, allocations: 51.36 kB / 0.9551 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.008174, allocations: 12.11 kB / 0.9551 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.008193, allocations: 12.44 kB / 0.9551 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.008194, allocations: 0 / 0.9551 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.002861/0.01105, allocations: 405.2 kB / 0.9555 GB, free: 6.637 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.689495299011469]