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.001881/0.001881, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002196/0.002196, allocations: 195.3 kB / 16.14 MB, free: 6.633 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.499/1.499, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.773/2.773, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.91 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6657/0.6678, allocations: 151.6 MB / 1.017 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002032/0.6699, allocations: 0.6449 MB / 1.017 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.6719, allocations: 1.26 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.6719, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.672, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.672, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.6724, allocations: 47.89 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.237e-05/0.6724, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.009e-05/0.6725, allocations: 4 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.004e-05/0.6725, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.6726, allocations: 3.984 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.6726, allocations: 3.938 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.6729, allocations: 99.83 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.6729, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.673, allocations: 3.984 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.6731, allocations: 51.94 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.6731, allocations: 4 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6731, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.6732, allocations: 4 kB / 1.019 GB, free: 0.8086 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.0004701/0.6736, allocations: 325.5 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6737, allocations: 8.031 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.6737, allocations: 0.9375 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.6739, allocations: 164.4 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.6739, allocations: 384 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.6739, allocations: 384 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.674, allocations: 34.02 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.674, allocations: 0 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.6741, allocations: 11.97 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.6741, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.6741, allocations: 3.938 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.6743, allocations: 145.7 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.676e-05/0.6744, allocations: 18.61 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.6744, allocations: 8.859 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007616/0.6752, allocations: 0.5623 MB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.6752, allocations: 38.5 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.6753, allocations: 3.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001748/0.6754, allocations: 33.64 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.6755, allocations: 59.52 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.6756, allocations: 89.86 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/0.6756, allocations: 25.7 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.6756, allocations: 80.14 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.6757, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.6757, allocations: 13.72 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6759, allocations: 310.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.676, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-06/0.676, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.676, allocations: 8.859 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.676, allocations: 3.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.387e-05/0.6761, allocations: 33.69 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.6761, allocations: 7.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6761, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.6762, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.6762, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6762, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.6763, allocations: 8.094 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.6763, allocations: 4 kB / 1.021 GB, free: 14.46 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 0.0001116/0.6764, allocations: 109.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-06/0.6764, allocations: 3.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.6766, allocations: 40.75 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6766, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6766, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.6766, allocations: 8.031 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.6767, allocations: 145.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6768, allocations: 3.984 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.6768, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.6768, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.6768, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6768, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6768, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.6769, allocations: 53.14 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.677, allocations: 87.2 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.677, allocations: 11.88 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.6771, allocations: 3.938 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.6771, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.6771, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.58e-05/0.6772, allocations: 75.28 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6772, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002418/0.6774, allocations: 12 kB / 1.021 GB, free: 13.81 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.0002435/0.6777, allocations: 111.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.198e-05/0.6778, allocations: 4 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6778, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.6778, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.6779, allocations: 5.094 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.6782, allocations: 78.67 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.6786, allocations: 0.6731 MB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.6787, allocations: 16.05 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.6787, allocations: 7.438 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6787, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.002999/0.6817, allocations: 300.8 kB / 1.022 GB, free: 12.57 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=400 -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