Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006212/0.006212, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001534/0.001534, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.89 kB / 0.9509 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3231, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00182/0.325, allocations: 0.6154 MB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.327, allocations: 1.433 MB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.327, allocations: 4 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.224e-05/0.3271, allocations: 0 / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.3272, allocations: 7.984 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.3279, allocations: 208.6 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.328, allocations: 35.97 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.328, allocations: 7.922 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.3281, allocations: 23.92 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.3281, allocations: 19.92 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3281, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.3285, allocations: 251.7 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.3286, allocations: 4 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.3286, allocations: 19.86 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.3289, allocations: 219.4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3289, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3289, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3289, allocations: 4 kB / 1.091 GB, free: 14.61 MB / 0.8575 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.0004531/0.3294, allocations: 404.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3294, allocations: 8.031 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.3295, allocations: 8.891 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.3297, allocations: 172.3 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3297, allocations: 4.375 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3298, allocations: 4.312 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.33, allocations: 77.97 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.33, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3301, allocations: 3.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3301, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.244e-05/0.3301, allocations: 39.97 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.3303, allocations: 161.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.423e-05/0.3304, allocations: 66.58 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.856e-05/0.3305, allocations: 52.83 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-06/0.3305, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3305, allocations: 34.5 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.3305, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003558/0.3309, allocations: 191.2 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.3309, allocations: 77.11 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.331, allocations: 113.8 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3311, allocations: 29.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.3311, allocations: 84.28 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.3312, allocations: 27.78 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.3312, allocations: 21.7 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3313, allocations: 318.9 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.3314, allocations: 39.97 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.68e-05/0.3314, allocations: 35.97 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.3316, allocations: 140.2 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3316, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001726/0.3318, allocations: 143.3 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.3318, allocations: 41.62 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3318, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3319, allocations: 8 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.3319, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3319, allocations: 4.062 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.332, allocations: 11.98 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.332, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 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.000102/0.3321, allocations: 151.5 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.3321, allocations: 11.89 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.207e-05/0.3321, allocations: 12.3 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.3321, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3321, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3322, allocations: 4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.3323, allocations: 169.7 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3323, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3323, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3323, allocations: 3.938 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3323, allocations: 15.86 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3323, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3323, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.3325, allocations: 195.3 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.3326, allocations: 89.08 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3326, allocations: 3.984 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.3327, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.3327, allocations: 7.984 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3327, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.3327, allocations: 95.25 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3327, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002643/0.333, allocations: 75.88 kB / 1.094 GB, free: 11.12 MB / 0.8575 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.000283/0.3333, allocations: 167.1 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.3336, allocations: 199.2 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3336, allocations: 4 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3337, allocations: 151.3 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.3339, allocations: 4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.3341, allocations: 160.9 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3344, allocations: 0.6807 MB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.021e-06/0.3344, allocations: 0 / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.06e-05/0.3345, allocations: 11.56 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of SimCode: time 1.583e-06/0.3345, allocations: 0 / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of Templates: time 0.004118/0.3386, allocations: 2.039 MB / 1.097 GB, free: 7.645 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches