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.009042/0.009042, allocations: 100.7 kB / 15.73 MB, free: 6.496 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.001926/0.001926, allocations: 196.6 kB / 16.68 MB, free: 6.375 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.436/2.436, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 64.44 kB / 0.9509 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3299, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001986/0.332, allocations: 0.6148 MB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3341, allocations: 1.445 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.3341, allocations: 0 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.383e-05/0.3342, allocations: 0 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.481e-05/0.3342, allocations: 7.922 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.335, allocations: 207.5 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.567e-05/0.3351, allocations: 39.97 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.3352, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.3352, allocations: 23.91 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.3353, allocations: 19.92 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.3353, allocations: 4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.3357, allocations: 251.6 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.3357, allocations: 4 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.3358, allocations: 19.86 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.3361, allocations: 215.6 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3361, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3361, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3361, allocations: 0 / 1.091 GB, free: 14.59 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.0005008/0.3366, allocations: 401 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3367, allocations: 12.03 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.3367, allocations: 4.844 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3369, allocations: 180.2 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3369, allocations: 384 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3369, allocations: 8.312 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3371, allocations: 77.97 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3371, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3371, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3371, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.116e-05/0.3372, allocations: 35.97 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.3374, allocations: 161.7 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.497e-05/0.3375, allocations: 66.53 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/0.3376, allocations: 60.8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.3376, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3376, allocations: 38.5 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.3376, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003158/0.3379, allocations: 179.3 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.338, allocations: 81.11 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.3381, allocations: 110.3 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3381, allocations: 29.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.3381, allocations: 92.16 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3382, allocations: 27.56 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3382, allocations: 17.72 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3383, allocations: 322.8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.3384, allocations: 35.97 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/0.3385, allocations: 40.2 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.3387, allocations: 144.3 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3387, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000174/0.3389, allocations: 143.4 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.3389, allocations: 49.62 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3389, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3389, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.3389, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3389, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.3391, allocations: 11.98 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.3391, allocations: 7.938 kB / 1.093 GB, free: 12.04 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.0001017/0.3392, allocations: 145.5 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.3393, allocations: 11.84 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.453e-05/0.3393, allocations: 20.3 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3393, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3393, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3393, allocations: 3.938 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.3394, allocations: 169.7 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3394, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3395, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3395, allocations: 7.938 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3395, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3395, allocations: 3.984 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3395, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.3398, allocations: 198.7 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.3398, allocations: 84.95 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3399, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/0.3399, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.3399, allocations: 11.92 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.34, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.34, allocations: 91.27 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.34, allocations: 4.031 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002871/0.3403, allocations: 76 kB / 1.094 GB, free: 11.1 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.000288/0.3406, allocations: 159.1 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.3409, allocations: 199.3 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3409, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.341, allocations: 151.3 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.3412, allocations: 9.891 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.3415, allocations: 165.1 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3418, allocations: 0.6846 MB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.894e-06/0.3418, allocations: 0 / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-06/0.3418, allocations: 11.38 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of SimCode: time 1.492e-06/0.3418, allocations: 0 / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of Templates: time 0.004909/0.3468, allocations: 2.048 MB / 1.097 GB, free: 7.613 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