Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_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.005792/0.005792, allocations: 99.77 kB / 15.73 MB, free: 6.445 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.001538/0.001538, allocations: 194.7 kB / 16.67 MB, free: 6.348 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 75.83 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2818, allocations: 162.3 MB / 1.242 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001453/0.2832, allocations: 0.6017 MB / 1.243 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003487/0.2836, allocations: 159.5 kB / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.2836, allocations: 0 / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.108e-05/0.2837, allocations: 0 / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.167e-05/0.2837, allocations: 3.938 kB / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.2839, allocations: 43.89 kB / 1.243 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.284, allocations: 12 kB / 1.243 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.284, allocations: 7.984 kB / 1.243 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.2841, allocations: 7.938 kB / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.2841, allocations: 4 kB / 1.243 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2841, allocations: 3.984 kB / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.2842, allocations: 35.95 kB / 1.243 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.2842, allocations: 4 kB / 1.243 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.2843, allocations: 7.938 kB / 1.243 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.2844, allocations: 27.89 kB / 1.243 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2844, allocations: 3.984 kB / 1.243 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2844, allocations: 0 / 1.243 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2844, allocations: 0 / 1.243 GB, free: 8.879 MB / 0.9981 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.0003584/0.2848, allocations: 343.4 kB / 1.243 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2848, allocations: 8.031 kB / 1.243 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.2848, allocations: 30.75 kB / 1.243 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.235e-05/0.2849, allocations: 8.875 kB / 1.243 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.285, allocations: 164.3 kB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.285, allocations: 4.375 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.285, allocations: 8.375 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.2851, allocations: 42.25 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.2851, allocations: 7.938 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.2851, allocations: 3.984 kB / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2851, allocations: 0 / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.2852, allocations: 12 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.2854, allocations: 161.6 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.659e-05/0.2855, allocations: 50.55 kB / 1.244 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.2855, allocations: 20.97 kB / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.455e-05/0.2856, allocations: 85.11 kB / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.2856, allocations: 30.56 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2856, allocations: 0 / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001116/0.2867, allocations: 492.4 kB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.2868, allocations: 51.41 kB / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.082e-05/0.2869, allocations: 93.86 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2869, allocations: 29.7 kB / 1.244 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.2869, allocations: 88.2 kB / 1.244 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.287, allocations: 31.73 kB / 1.244 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.287, allocations: 17.72 kB / 1.245 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2871, allocations: 310.8 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.2871, allocations: 19.98 kB / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.2872, allocations: 12 kB / 1.245 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/0.2872, allocations: 33.08 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2872, allocations: 4 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001103/0.2874, allocations: 85.53 kB / 1.245 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.2874, allocations: 4 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.2874, allocations: 0 / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2874, allocations: 0 / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.2875, allocations: 12 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2875, allocations: 3.984 kB / 1.245 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.2875, allocations: 4 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2875, allocations: 4 kB / 1.245 GB, free: 6.328 MB / 0.9981 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 6.896e-05/0.2876, allocations: 110.4 kB / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.2876, allocations: 11.89 kB / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.2878, allocations: 85.58 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2878, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.2878, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2878, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.2879, allocations: 169.6 kB / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2879, allocations: 0 / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.288, allocations: 15.94 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.288, allocations: 0 / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.288, allocations: 4 kB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.288, allocations: 4 kB / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.288, allocations: 0 / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.2882, allocations: 117 kB / 1.245 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.2883, allocations: 88.98 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2883, allocations: 4.031 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.2883, allocations: 0 / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.2884, allocations: 4 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.2884, allocations: 4.062 kB / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.2884, allocations: 87.27 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2884, allocations: 3.938 kB / 1.246 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001966/0.2886, allocations: 27.94 kB / 1.246 GB, free: 5.5 MB / 0.9981 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.0005041/0.2891, allocations: 0.6789 MB / 1.246 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.864e-05/0.2892, allocations: 39.98 kB / 1.246 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.2892, allocations: 0 / 1.246 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.2893, allocations: 27.92 kB / 1.246 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.2894, allocations: 7.609 kB / 1.246 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2905, allocations: 1.2 MB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2907, allocations: 0.6807 MB / 1.248 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.2908, allocations: 8 kB / 1.248 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.2908, allocations: 19.42 kB / 1.248 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.2908, allocations: 0 / 1.248 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.516/0.8069, allocations: 1.818 MB / 1.25 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/9.371, allocations: 12.53 kB / 1.25 GB, free: 1.023 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches