Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.004721/0.004721, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001268/0.001268, allocations: 188.2 kB / 16.67 MB, free: 5.918 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437.1 MB / 0.7106 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2859, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001738/0.2877, allocations: 0.5922 MB / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004443/0.2881, allocations: 167.8 kB / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.2882, allocations: 0 / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.2882, allocations: 4 kB / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.956e-05/0.2882, allocations: 0 / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2885, allocations: 43.83 kB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.2886, allocations: 11.98 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.2886, allocations: 4 kB / 1.167 GB, free: 6.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.2887, allocations: 11.97 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.2887, allocations: 7.938 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2887, allocations: 4 kB / 1.167 GB, free: 6.395 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.2888, allocations: 27.97 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.2888, allocations: 7.984 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.2889, allocations: 15.92 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.738e-05/0.289, allocations: 28.19 kB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.289, allocations: 0 / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.289, allocations: 0 / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.289, allocations: 0 / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004101/0.2894, allocations: 331.5 kB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2895, allocations: 12.02 kB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.2895, allocations: 30.75 kB / 1.167 GB, free: 5.891 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.2895, allocations: 12.88 kB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2897, allocations: 168.3 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2897, allocations: 4.375 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.2897, allocations: 8.312 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.2898, allocations: 42.25 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2899, allocations: 3.938 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2899, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2899, allocations: 7.922 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.2899, allocations: 15.98 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.2901, allocations: 157.7 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.2902, allocations: 54.56 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.2903, allocations: 20.97 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/0.2904, allocations: 77.11 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2904, allocations: 38.56 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.2904, allocations: 0 / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.00117/0.2916, allocations: 492.4 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.2916, allocations: 55.39 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.2917, allocations: 93.86 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2917, allocations: 29.7 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.2918, allocations: 80.14 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2918, allocations: 19.8 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.2918, allocations: 25.7 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.292, allocations: 311 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.292, allocations: 27.91 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.292, allocations: 12 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.2921, allocations: 37.08 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.2921, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001141/0.2922, allocations: 77.56 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.2923, allocations: 4 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2923, allocations: 0 / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2923, allocations: 0 / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.2924, allocations: 15.94 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2924, allocations: 4 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.2924, allocations: 4 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2924, allocations: 7.938 kB / 1.169 GB, free: 3.762 MB / 0.92 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 (8): * Single equations (assignments): 8 * 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 8.51e-05/0.2925, allocations: 116.5 kB / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.2925, allocations: 7.938 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.2927, allocations: 73.64 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2927, allocations: 4 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2927, allocations: 0 / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2927, allocations: 7.938 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2929, allocations: 165.7 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2929, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.119e-05/0.293, allocations: 19.92 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.293, allocations: 0 / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.293, allocations: 0 / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.293, allocations: 0 / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.293, allocations: 0 / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.2932, allocations: 121.1 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.2932, allocations: 84.98 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2933, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/0.2933, allocations: 8.016 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.2933, allocations: 7.938 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.2933, allocations: 4 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.2934, allocations: 75.28 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.2934, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002176/0.2936, allocations: 31.92 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.000581/0.2942, allocations: 0.6867 MB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.2943, allocations: 44.22 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2943, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.2944, allocations: 20.09 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.2945, allocations: 4 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2956, allocations: 1.201 MB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.2959, allocations: 0.6846 MB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.2959, allocations: 4 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.296, allocations: 15.38 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.296, allocations: 0 / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3448/0.6407, allocations: 1.825 MB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.04, allocations: 15.55 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches