Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004763/0.004763, allocations: 98.06 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.001158/0.001158, allocations: 194.1 kB / 16.67 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3229, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001562/0.3245, allocations: 0.6207 MB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3261, allocations: 1.437 MB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.3261, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.563e-05/0.3262, allocations: 4 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.3262, allocations: 4 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.3269, allocations: 215.4 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.986e-05/0.327, allocations: 35.97 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.327, allocations: 3.938 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.3271, allocations: 15.92 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.3271, allocations: 15.98 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3271, allocations: 4 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.3275, allocations: 251.7 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.3275, allocations: 11.94 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.3276, allocations: 19.84 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.3278, allocations: 219.4 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3278, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3278, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3278, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 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.0004372/0.3283, allocations: 405.9 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3283, allocations: 12.03 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.3284, allocations: 4.891 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3285, allocations: 176.3 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3285, allocations: 4.375 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.3285, allocations: 384 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3286, allocations: 77.91 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3286, allocations: 7.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3287, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.3287, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/0.3287, allocations: 35.97 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.3288, allocations: 165.7 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.3289, allocations: 54.55 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.329, allocations: 40.88 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.329, allocations: 3.984 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.329, allocations: 34.5 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.329, allocations: 0 / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002867/0.3293, allocations: 195.4 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.3293, allocations: 85.14 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.3294, allocations: 109.8 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.3294, allocations: 29.7 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.3295, allocations: 84.14 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.3295, allocations: 27.73 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3296, allocations: 21.72 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.3296, allocations: 314.8 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/0.3297, allocations: 43.91 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.394e-05/0.3297, allocations: 35.98 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.3299, allocations: 144.1 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3299, allocations: 0 / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001594/0.33, allocations: 143.3 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.3301, allocations: 45.62 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3301, allocations: 0 / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3301, allocations: 4 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.3301, allocations: 0 / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.3301, allocations: 0.625 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.3302, allocations: 11.94 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.3302, allocations: 4.062 kB / 1.226 GB, free: 8.418 MB / 0.9825 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 9.071e-05/0.3303, allocations: 156.1 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.3303, allocations: 7.938 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.094e-05/0.3303, allocations: 4.375 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.3303, allocations: 0 / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3303, allocations: 3.984 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3303, allocations: 7.938 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.815e-05/0.3304, allocations: 169.6 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3304, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3304, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3304, allocations: 11.88 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3304, allocations: 4 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3304, allocations: 0 / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.3304, allocations: 0 / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.3307, allocations: 194.8 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.3307, allocations: 96.92 kB / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3307, allocations: 0 / 1.226 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.3307, allocations: 8 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.3308, allocations: 16.02 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.3308, allocations: 4 kB / 1.226 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.3308, allocations: 87.27 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3308, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002766/0.3311, allocations: 75.88 kB / 1.226 GB, free: 7.477 MB / 0.9825 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.0002701/0.3314, allocations: 155.1 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3316, allocations: 167.2 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3316, allocations: 4.062 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.3317, allocations: 115.3 kB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.3318, allocations: 10.19 kB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.3321, allocations: 168.7 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3323, allocations: 0.6846 MB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.668e-06/0.3323, allocations: 3.938 kB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.926e-06/0.3323, allocations: 7.438 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3323, allocations: 0 / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.004125/0.3364, allocations: 2.037 MB / 1.23 GB, free: 4.062 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches