Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008642/0.008642, allocations: 99.62 kB / 15.73 MB, free: 6.012 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.001394/0.001395, allocations: 187.7 kB / 16.67 MB, free: 5.949 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.446/2.446, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.66 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2842, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002408/0.2866, allocations: 1.456 MB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009048/0.2876, allocations: 0.5633 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.2876, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.2877, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.724e-05/0.2877, allocations: 7.922 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.2879, allocations: 47.77 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.288, allocations: 31.92 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.2881, allocations: 11.98 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.2882, allocations: 15.86 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.2882, allocations: 15.92 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2883, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.2884, allocations: 47.97 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.2884, allocations: 15.97 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.2884, allocations: 7.938 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2886, allocations: 63.86 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2886, allocations: 4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2886, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.2886, allocations: 0 / 1.09 GB, free: 15.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003487/0.2889, allocations: 354.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.289, allocations: 8.031 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.289, allocations: 30.75 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.2891, allocations: 8.844 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.914e-05/0.2892, allocations: 164.6 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.2892, allocations: 8.312 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.2892, allocations: 4.375 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.2893, allocations: 49.8 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.2893, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.2893, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.2893, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.274e-05/0.2894, allocations: 19.98 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.2897, allocations: 256.9 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.701e-05/0.2898, allocations: 34.52 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.2898, allocations: 16.91 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/0.2906, allocations: 469.4 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.2906, allocations: 42.55 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.2907, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002223/0.2909, allocations: 61.59 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.2909, allocations: 55.34 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.291, allocations: 109.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.291, allocations: 25.7 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.2911, allocations: 88.12 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.2911, allocations: 8.031 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.2911, allocations: 13.72 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.2912, allocations: 318.8 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.2913, allocations: 15.98 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.2913, allocations: 8 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.2914, allocations: 24.84 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2914, allocations: 8 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001187/0.2915, allocations: 57.67 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.2916, allocations: 7.938 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.2916, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.2916, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.2916, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2917, allocations: 3.938 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.2917, allocations: 7.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2917, allocations: 0 / 1.092 GB, free: 13.12 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.634e-05/0.2918, allocations: 123.8 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.2918, allocations: 3.906 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.292, allocations: 61.19 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.292, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.292, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.292, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2922, allocations: 173.6 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2922, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.2922, allocations: 11.97 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2922, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.2922, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2922, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2922, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.2924, allocations: 151.5 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.2924, allocations: 81.02 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.2925, allocations: 8.031 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.2925, allocations: 0 / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.2926, allocations: 3.984 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.2926, allocations: 4 kB / 1.092 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.2926, allocations: 83.59 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2926, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002355/0.2929, allocations: 15.98 kB / 1.093 GB, free: 12.3 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0004612/0.2933, allocations: 0.7045 MB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.2935, allocations: 23.98 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2935, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.794e-05/0.2935, allocations: 19.92 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.2937, allocations: 5.812 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.2941, allocations: 160.3 kB / 1.093 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.2944, allocations: 0.6806 MB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.2944, allocations: 8 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.2944, allocations: 15.38 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2944, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.3108, allocations: 1.618 MB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.756, allocations: 13.69 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches