Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001531/0.00153, 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.001753/0.001753, allocations: 195.2 kB / 16.14 MB, free: 6.719 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 66.55 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001897/0.3276, allocations: 0.6464 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3291, allocations: 1.271 MB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.3291, allocations: 0 / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.3291, allocations: 7.875 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.3291, allocations: 4 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3295, allocations: 47.89 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.886e-05/0.3295, allocations: 4 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.3296, allocations: 0 / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.3296, allocations: 0 / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.3296, allocations: 4 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.3296, allocations: 0 / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.3299, allocations: 99.81 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.3299, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.3299, allocations: 4 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3301, allocations: 55.94 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3301, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3301, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3301, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 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.0003201/0.3304, allocations: 327.6 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3305, allocations: 12.03 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.3305, allocations: 0.9375 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.418e-05/0.3306, allocations: 164.3 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3306, allocations: 384 / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3306, allocations: 4.375 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.978e-05/0.3307, allocations: 38 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3307, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.3308, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3308, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.3308, allocations: 3.938 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.3309, allocations: 149.7 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.331, allocations: 14.58 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.331, allocations: 8.859 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/0.3316, allocations: 0.5662 MB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3316, allocations: 34.5 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3316, allocations: 0 / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.3317, allocations: 33.64 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3318, allocations: 59.52 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.654e-05/0.3318, allocations: 93.86 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3318, allocations: 25.7 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.3319, allocations: 84.14 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.3319, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.3319, allocations: 9.719 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3321, allocations: 314.8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.3321, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.3321, allocations: 4 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.3321, allocations: 12.8 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3321, allocations: 0 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.227e-05/0.3322, allocations: 41.62 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3322, allocations: 11.94 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3322, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3322, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.3323, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3323, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.3323, allocations: 4.094 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3323, allocations: 4 kB / 1.056 GB, free: 4.367 MB / 0.8106 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.993e-05/0.3324, allocations: 105.8 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.3324, allocations: 7.922 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.708e-05/0.3325, allocations: 52.69 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3325, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3325, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3325, allocations: 4.031 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.3326, allocations: 145.7 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3326, allocations: 0 / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.3327, allocations: 4 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3327, allocations: 3.938 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3327, allocations: 4 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3327, allocations: 0 / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3327, allocations: 0 / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.925e-05/0.3328, allocations: 61.14 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.3328, allocations: 81.38 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3328, allocations: 3.938 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.3328, allocations: 0 / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.3328, allocations: 3.938 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3329, allocations: 4 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.308e-05/0.3329, allocations: 75.28 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3329, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001929/0.3331, allocations: 4 kB / 1.057 GB, free: 3.719 MB / 0.8106 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.0001725/0.3333, allocations: 111.3 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.537e-05/0.3333, allocations: 4 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3333, allocations: 0 / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-06/0.3334, allocations: 0 / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.3335, allocations: 8.969 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.3337, allocations: 78.61 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.3339, allocations: 0.6732 MB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.3339, allocations: 8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.3339, allocations: 7.438 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.3339, allocations: 7.875 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of Templates: time 0.00219/0.3361, allocations: 296.7 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches