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.001321/0.001321, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001295/0.001295, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.681/2.681, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.81 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3477, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001904/0.3496, allocations: 0.6814 MB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3516, allocations: 1.435 MB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.3517, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.3518, allocations: 4 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.3518, allocations: 3.938 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.3525, allocations: 190.6 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3526, allocations: 35.95 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.3527, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.3527, allocations: 23.86 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.3528, allocations: 27.91 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3528, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.3533, allocations: 251.6 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.3534, allocations: 4 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.3535, allocations: 15.86 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3537, allocations: 143.8 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3537, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3537, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3537, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 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.0004909/0.3542, allocations: 405.4 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3543, allocations: 16.62 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.3543, allocations: 4.844 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.3545, allocations: 176.2 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3545, allocations: 384 / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3545, allocations: 8.312 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3547, allocations: 73.97 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3547, allocations: 11.97 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3547, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3547, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/0.3548, allocations: 31.98 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.355, allocations: 165.7 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.3551, allocations: 66.48 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.3552, allocations: 52.8 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-06/0.3552, allocations: 0 / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3552, allocations: 38.5 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.3553, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.000346/0.3556, allocations: 187.3 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.3557, allocations: 81.11 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.3558, allocations: 113.8 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3558, allocations: 25.7 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.3559, allocations: 92.12 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.3559, allocations: 23.66 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.356, allocations: 17.7 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3561, allocations: 318.8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.3562, allocations: 43.94 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.863e-05/0.3562, allocations: 31.97 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3564, allocations: 140.2 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3564, allocations: 0 / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002098/0.3566, allocations: 155.5 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.3567, allocations: 37.64 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.3567, allocations: 0 / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3567, allocations: 3.938 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3567, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3567, allocations: 4.609 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3569, allocations: 12.06 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.3569, allocations: 4 kB / 1.069 GB, free: 9.703 MB / 0.8419 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.0001268/0.357, allocations: 152.8 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.357, allocations: 11.84 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.3571, allocations: 12.36 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3571, allocations: 0 / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3571, allocations: 0 / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3571, allocations: 0 / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.3572, allocations: 161.7 kB / 1.069 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3572, allocations: 4 kB / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3573, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3573, allocations: 3.938 kB / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.3573, allocations: 11.98 kB / 1.069 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3573, allocations: 3.938 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3573, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.3576, allocations: 202.7 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.3576, allocations: 84.95 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.3577, allocations: 8.031 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.3577, allocations: 11.98 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.3577, allocations: 0 / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3578, allocations: 11.94 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.505e-05/0.3578, allocations: 91.27 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3578, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003216/0.3582, allocations: 68 kB / 1.07 GB, free: 8.773 MB / 0.8419 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.000339/0.3585, allocations: 163.2 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.3588, allocations: 195.3 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3588, allocations: 4 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3589, allocations: 147.3 kB / 1.07 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3591, allocations: 10.25 kB / 1.07 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.3595, allocations: 202.6 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3598, allocations: 0.6925 MB / 1.071 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.3598, allocations: 7.438 kB / 1.071 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of SimCode: time 2.104e-06/0.3598, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of Templates: time 0.003908/0.3637, allocations: 1.71 MB / 1.073 GB, free: 5.57 MB / 0.8419 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=400 -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/jenkins1/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