Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 102 kB / 16.27 MB, free: 5.969 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.001004/0.001004, allocations: 194.4 kB / 17.2 MB, free: 5.594 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.477/2.477, allocations: 437 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 68.33 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2979, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001946/0.2999, allocations: 0.6252 MB / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3018, allocations: 1.425 MB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.3019, allocations: 0 / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.312e-05/0.302, allocations: 3.938 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.601e-05/0.302, allocations: 3.984 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.3028, allocations: 220.5 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.3029, allocations: 35.97 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.3029, allocations: 0 / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.405e-05/0.303, allocations: 15.92 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.303, allocations: 19.92 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.303, allocations: 4 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.3035, allocations: 255.6 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.3035, allocations: 4 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.3036, allocations: 19.88 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.304, allocations: 211.6 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.304, allocations: 0 / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.304, allocations: 0 / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.304, allocations: 0 / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00047/0.3045, allocations: 401.3 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3045, allocations: 15.97 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.3046, allocations: 4.844 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3047, allocations: 172.3 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3047, allocations: 8.312 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3048, allocations: 4.375 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3049, allocations: 73.97 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3049, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3049, allocations: 4 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.305, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.305, allocations: 39.91 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.3052, allocations: 165.6 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.922e-05/0.3053, allocations: 62.56 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.3054, allocations: 48.86 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.3054, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3054, allocations: 38.5 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.3054, allocations: 0 / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003314/0.3058, allocations: 191.4 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3058, allocations: 85.09 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.306, allocations: 114.1 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.306, allocations: 29.73 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.306, allocations: 88.14 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.3061, allocations: 27.64 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.3062, allocations: 21.72 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3063, allocations: 318.8 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.3063, allocations: 31.98 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.3064, allocations: 35.97 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3066, allocations: 140.2 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3066, allocations: 4.031 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001943/0.3068, allocations: 155.2 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.3068, allocations: 41.62 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.3068, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3069, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3069, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3069, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.307, allocations: 8 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.307, allocations: 11.98 kB / 1.023 GB, free: 5.262 MB / 0.795 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001122/0.3071, allocations: 154 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.3072, allocations: 15.83 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.3072, allocations: 8.375 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3072, allocations: 3.938 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3072, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3072, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.3073, allocations: 173.6 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3074, allocations: 0 / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3074, allocations: 0 / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3074, allocations: 7.938 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.3074, allocations: 0 / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3074, allocations: 4 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3074, allocations: 0 / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3077, allocations: 206.6 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.3077, allocations: 81.05 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.3077, allocations: 4 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.3078, allocations: 7.984 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.3078, allocations: 0 / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.3078, allocations: 8 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.885e-05/0.3079, allocations: 95.3 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3079, allocations: 0 / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003375/0.3083, allocations: 71.98 kB / 1.024 GB, free: 4.332 MB / 0.795 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003566/0.3086, allocations: 167.2 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.3089, allocations: 195.3 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3089, allocations: 0 / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3091, allocations: 155.3 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.3092, allocations: 12.12 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.3096, allocations: 190.6 kB / 1.024 GB, free: 3.562 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3099, allocations: 0.6846 MB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.31, allocations: 7.438 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.31, allocations: 0 / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of Templates: time 0.004206/0.3142, allocations: 1.724 MB / 1.027 GB, free: 1.125 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches