Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001189/0.001189, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.009513/0.009513, allocations: 172 kB / 16.26 MB, free: 6.613 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 443.3 MB / 0.7175 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 15.22 kB / 0.8796 GB, free: 41.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3837, allocations: 155.2 MB / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0008242/0.3846, allocations: 348.3 kB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.3866, allocations: 1.471 MB / 1.033 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.3866, allocations: 0 / 1.033 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.056e-05/0.3867, allocations: 0 / 1.033 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.3868, allocations: 0 / 1.033 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.3874, allocations: 171.7 kB / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.3874, allocations: 31.91 kB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.3875, allocations: 3.984 kB / 1.033 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.3875, allocations: 15.94 kB / 1.033 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.3876, allocations: 19.97 kB / 1.033 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.3876, allocations: 4 kB / 1.033 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.388, allocations: 239.6 kB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.388, allocations: 11.94 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.3881, allocations: 41.56 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.3884, allocations: 219.6 kB / 1.034 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3884, allocations: 0 / 1.034 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3884, allocations: 0 / 1.034 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3884, allocations: 0 / 1.034 GB, free: 1.719 MB / 0.7794 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.0004052/0.3888, allocations: 385.4 kB / 1.034 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3889, allocations: 8.031 kB / 1.034 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.3889, allocations: 4.938 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3891, allocations: 180.2 kB / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3891, allocations: 384 / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.3891, allocations: 384 / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3893, allocations: 81.97 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.3893, allocations: 0 / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3893, allocations: 0 / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3893, allocations: 0 / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.3894, allocations: 43.91 kB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.3895, allocations: 157.7 kB / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.3896, allocations: 66.5 kB / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.3897, allocations: 52.86 kB / 1.035 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.3897, allocations: 0 / 1.035 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3897, allocations: 38.5 kB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.3897, allocations: 0 / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003085/0.3901, allocations: 187.2 kB / 1.035 GB, free: 368 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3901, allocations: 85.03 kB / 1.035 GB, free: 264 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.3902, allocations: 113.8 kB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3902, allocations: 25.7 kB / 1.035 GB, free: 108 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.3903, allocations: 88.17 kB / 1.035 GB, free: 16 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.3903, allocations: 31.86 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.3904, allocations: 13.72 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3905, allocations: 314.8 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.392e-05/0.3905, allocations: 31.97 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.3906, allocations: 39.97 kB / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3907, allocations: 136.2 kB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3907, allocations: 0 / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001786/0.3909, allocations: 159.2 kB / 1.036 GB, free: 15.26 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.391, allocations: 47.2 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.391, allocations: 3.984 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.391, allocations: 0 / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.391, allocations: 0 / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.391, allocations: 4.625 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.3911, allocations: 4 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.3911, allocations: 4 kB / 1.036 GB, free: 15.19 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.0001035/0.3913, allocations: 161 kB / 1.036 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.3913, allocations: 11.84 kB / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.3913, allocations: 12.36 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3913, allocations: 0 / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3913, allocations: 0 / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3913, allocations: 0 / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3914, allocations: 161.7 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3914, allocations: 7.984 kB / 1.036 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.3915, allocations: 0 / 1.036 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3915, allocations: 7.875 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3915, allocations: 4 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3915, allocations: 0 / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3915, allocations: 0 / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.3917, allocations: 206.7 kB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.3918, allocations: 88.95 kB / 1.036 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3918, allocations: 4 kB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.3918, allocations: 7.984 kB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.3919, allocations: 4 kB / 1.036 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3919, allocations: 4 kB / 1.036 GB, free: 14.42 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.3919, allocations: 91.27 kB / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3919, allocations: 4.031 kB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002893/0.3922, allocations: 75.98 kB / 1.037 GB, free: 14.25 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.0003069/0.3926, allocations: 163.1 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.3928, allocations: 195.3 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3928, allocations: 0 / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.3929, allocations: 147.4 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.3931, allocations: 17.81 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.3934, allocations: 174.7 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3937, allocations: 0.6887 MB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.5e-06/0.3937, allocations: 3.938 kB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-06/0.3937, allocations: 7.438 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.3937, allocations: 0 / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of Templates: time 0.004652/0.3984, allocations: 1.975 MB / 1.04 GB, free: 10.82 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches