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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00155/0.00155, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 200 kB / 16.79 MB, free: 6.828 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437 MB / 0.7106 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 71.89 kB / 0.8692 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6721, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001822/0.6739, allocations: 0.6451 MB / 1.018 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.6755, allocations: 1.252 MB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-06/0.6755, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.6756, allocations: 4 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.6756, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.6759, allocations: 43.89 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.928e-05/0.6759, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.676, allocations: 7.984 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.676, allocations: 3.938 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.676, allocations: 7.984 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.6761, allocations: 7.875 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.6763, allocations: 91.91 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.6763, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.6763, allocations: 3.984 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.69e-05/0.6764, allocations: 35.97 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6764, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6764, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.6765, allocations: 0 / 1.019 GB, free: 0.6875 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.0002914/0.6768, allocations: 327.6 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6768, allocations: 8.031 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.6768, allocations: 0.9375 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.6769, allocations: 164.4 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.677, allocations: 4.375 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.677, allocations: 384 / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.6771, allocations: 34.02 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6771, allocations: 3.938 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.6771, allocations: 0 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6771, allocations: 0 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.6772, allocations: 3.984 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.6773, allocations: 157.7 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.858e-05/0.6774, allocations: 18.58 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.6774, allocations: 12.89 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.678, allocations: 0.5544 MB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.678, allocations: 42.48 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 6.362e-06/0.678, allocations: 0 / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.6782, allocations: 37.64 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.6782, allocations: 55.41 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.247e-05/0.6782, allocations: 89.86 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.6782, allocations: 25.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.6783, allocations: 80.14 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.6783, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.6784, allocations: 13.72 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.6785, allocations: 314.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.6785, allocations: 8.109 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.6785, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.6785, allocations: 12.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6785, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.008e-05/0.6786, allocations: 29.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6786, allocations: 11.94 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.6786, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6786, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.6787, allocations: 4.094 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6787, allocations: 11.92 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.6787, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.6787, allocations: 3.984 kB / 1.021 GB, free: 14.34 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 6.644e-05/0.6788, allocations: 109.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.6788, allocations: 3.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/0.6789, allocations: 40.77 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6789, allocations: 4.031 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.6789, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.6789, allocations: 3.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.596e-05/0.679, allocations: 149.7 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.679, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.6791, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.6791, allocations: 3.938 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.6791, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6791, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6791, allocations: 3.938 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.985e-05/0.6792, allocations: 65.06 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.6792, allocations: 79.08 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.6792, allocations: 3.938 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.6792, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.6793, allocations: 8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.6793, allocations: 4 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.45e-05/0.6793, allocations: 75.28 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.6793, allocations: 32 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002023/0.6795, allocations: 15.98 kB / 1.022 GB, free: 13.67 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.0001548/0.6797, allocations: 107.2 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.225e-05/0.6797, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6798, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.046e-06/0.6798, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.6799, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/0.6801, allocations: 116.4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.6803, allocations: 0.6731 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.6803, allocations: 7.438 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6803, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.001778/0.6821, allocations: 439.7 kB / 1.023 GB, free: 12.27 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/jenkins1/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