Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0017/0.0017, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.8685 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6348/0.6361, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001646/0.6378, allocations: 0.6604 MB / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.6392, allocations: 1.252 MB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-06/0.6393, allocations: 0 / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.6393, allocations: 4 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-06/0.6393, allocations: 4 kB / 1.018 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.6396, allocations: 47.88 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.281e-05/0.6396, allocations: 3.938 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.6397, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.6397, allocations: 4 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.423e-05/0.6397, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.283e-06/0.6397, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.64, allocations: 103.8 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.64, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.38e-05/0.64, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.6401, allocations: 59.92 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.6401, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.62e-07/0.6401, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.6401, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 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.0002924/0.6404, allocations: 323.6 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.6405, allocations: 8.031 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.6405, allocations: 4.938 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.801e-05/0.6406, allocations: 160.4 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.6406, allocations: 384 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.6406, allocations: 8.375 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.6407, allocations: 30.02 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.6407, allocations: 3.938 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.6407, allocations: 0 / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.6407, allocations: 0 / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.6408, allocations: 7.938 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.6409, allocations: 145.7 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.263e-05/0.6409, allocations: 18.67 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.641, allocations: 16.8 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/0.6415, allocations: 0.5583 MB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.6415, allocations: 34.5 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.6415, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.6417, allocations: 41.64 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.6417, allocations: 55.53 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.692e-05/0.6417, allocations: 89.86 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.6418, allocations: 25.7 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.6418, allocations: 80.14 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.6418, allocations: 3.984 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.6419, allocations: 13.72 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.642, allocations: 314.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.642, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.642, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.642, allocations: 12.86 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.642, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.966e-05/0.6421, allocations: 37.64 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6421, allocations: 11.92 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.6421, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.6421, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.038e-05/0.6422, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.6422, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.6422, allocations: 4.094 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.6422, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 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 5.737e-05/0.6423, allocations: 109.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.6423, allocations: 3.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.276e-05/0.6424, allocations: 44.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.6424, allocations: 3.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6424, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6424, allocations: 4.031 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.637e-05/0.6425, allocations: 145.6 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6425, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.6425, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6425, allocations: 7.922 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.6425, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6425, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/0.6426, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.771e-05/0.6426, allocations: 57.14 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.6427, allocations: 79.08 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.6427, allocations: 7.922 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.6427, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.6427, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.6427, allocations: 3.938 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.6428, allocations: 75.28 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.372e-06/0.6428, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001942/0.643, allocations: 15.94 kB / 1.021 GB, free: 13.65 MB / 0.7794 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.0001375/0.6431, allocations: 111.3 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.538e-05/0.6432, allocations: 7.984 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6432, allocations: 0 / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-06/0.6432, allocations: 4 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.6433, allocations: 3.297 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.6435, allocations: 86.61 kB / 1.021 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.6437, allocations: 0.6733 MB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.6437, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.6437, allocations: 7.438 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.6438, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.001923/0.6457, allocations: 308.6 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches