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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 105.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.768/2.768, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 62.62 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3371, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00184/0.339, allocations: 0.6465 MB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3407, allocations: 1.244 MB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.354e-05/0.3407, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.3407, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.3408, allocations: 7.938 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.3411, allocations: 59.81 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.381e-05/0.3412, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.3412, allocations: 3.938 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.3413, allocations: 11.98 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.488e-05/0.3413, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.3413, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.3416, allocations: 91.91 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.3416, allocations: 7.984 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.3416, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.3417, allocations: 39.95 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3417, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3417, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3417, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 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.0003487/0.3421, allocations: 323.6 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3421, allocations: 12.03 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.3422, allocations: 0.9375 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3423, allocations: 160.4 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.3423, allocations: 4.375 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.3423, allocations: 384 / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.3424, allocations: 37.95 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3424, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3424, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3424, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.3425, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.3426, allocations: 157.6 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.439e-05/0.3427, allocations: 22.56 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.3427, allocations: 12.89 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006295/0.3433, allocations: 0.5622 MB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3434, allocations: 38.5 kB / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.3434, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.3435, allocations: 33.7 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3436, allocations: 55.41 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.088e-05/0.3436, allocations: 89.86 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.3437, allocations: 25.7 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.3437, allocations: 80.14 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.3437, allocations: 3.984 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.3438, allocations: 13.72 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3439, allocations: 315 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.3439, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.344, allocations: 3.938 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.344, allocations: 8.859 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.344, allocations: 3.938 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.862e-05/0.3441, allocations: 29.7 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3441, allocations: 13.81 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3441, allocations: 3.984 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3441, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.3442, allocations: 4.094 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3442, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.3442, allocations: 8 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3442, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 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 7.765e-05/0.3443, allocations: 115.5 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.3443, allocations: 3.938 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.98e-05/0.3444, allocations: 44.72 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3444, allocations: 4.031 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3444, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3444, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.3445, allocations: 145.7 kB / 1.068 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3445, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.3446, allocations: 4 kB / 1.068 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.3446, allocations: 7.922 kB / 1.068 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.3446, allocations: 3.938 kB / 1.068 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3446, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3446, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.133e-05/0.3447, allocations: 61.08 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.3447, allocations: 77.39 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3447, allocations: 3.938 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.3448, allocations: 7.984 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.3448, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3448, allocations: 4 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.595e-05/0.3448, allocations: 75.28 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3448, allocations: 4.031 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001849/0.345, allocations: 8 kB / 1.069 GB, free: 9.969 MB / 0.8419 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.0001847/0.3452, allocations: 103.2 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.358e-05/0.3453, allocations: 7.984 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3453, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.3453, allocations: 7.938 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.3454, allocations: 3.938 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.3457, allocations: 109 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.346, allocations: 0.6729 MB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.346, allocations: 7.438 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.346, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of Templates: time 0.00189/0.3479, allocations: 439.6 kB / 1.07 GB, free: 8.562 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches