Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential",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.006992/0.006992, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001838/0.001838, allocations: 192 kB / 16.67 MB, free: 5.48 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.387/2.387, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 71.88 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6656, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002398/0.6681, allocations: 1.433 MB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003757/0.6685, allocations: 202.7 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.6685, allocations: 0 / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.6685, allocations: 0 / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.085e-05/0.6686, allocations: 3.938 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.6688, allocations: 39.89 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.6689, allocations: 23.92 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.669, allocations: 11.98 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.669, allocations: 7.922 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.669, allocations: 11.98 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.6691, allocations: 4 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.6691, allocations: 35.95 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.6692, allocations: 7.938 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.6692, allocations: 11.94 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.859e-05/0.6693, allocations: 34.61 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6693, allocations: 8 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.91e-07/0.6693, allocations: 0 / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6693, allocations: 0 / 1.168 GB, free: 1.926 MB / 0.8887 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.0004115/0.6697, allocations: 344.3 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.6698, allocations: 12.92 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.6698, allocations: 30.75 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.6698, allocations: 8.828 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.67, allocations: 168.4 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.67, allocations: 4.375 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.67, allocations: 384 / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.6701, allocations: 50.23 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6702, allocations: 3.938 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.6702, allocations: 0 / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6702, allocations: 4 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.6703, allocations: 31.95 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.6706, allocations: 256.9 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.6708, allocations: 42.5 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.6709, allocations: 16.91 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.671, allocations: 85.09 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.671, allocations: 38.56 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.671, allocations: 4 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003246/0.6713, allocations: 81.55 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.6714, allocations: 59.33 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.6715, allocations: 101.9 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.6715, allocations: 25.7 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.6715, allocations: 84.14 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.6715, allocations: 16 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.6716, allocations: 13.72 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6717, allocations: 314.8 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.6718, allocations: 11.98 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.6719, allocations: 19.98 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.672, allocations: 44.88 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6721, allocations: 3.938 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.6722, allocations: 65.59 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.6723, allocations: 8 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.6723, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.6723, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.6724, allocations: 11.94 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6724, allocations: 8.016 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.6724, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.6724, allocations: 7.984 kB / 1.17 GB, free: 15.73 MB / 0.9044 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 7.044e-05/0.6725, allocations: 109.8 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.6725, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.6728, allocations: 76.7 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.6728, allocations: 4.031 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6728, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6728, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.673, allocations: 161.6 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.673, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.673, allocations: 7.984 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.673, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.673, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.673, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.673, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.6733, allocations: 167.5 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.6733, allocations: 77.11 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.6733, allocations: 3.984 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.6734, allocations: 4.25 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.6735, allocations: 7.984 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.6735, allocations: 4 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.6735, allocations: 95.23 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6735, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002135/0.6737, allocations: 8 kB / 1.171 GB, free: 14.9 MB / 0.9044 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.0005449/0.6743, allocations: 0.7123 MB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.6745, allocations: 39.95 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.6745, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.6746, allocations: 19.92 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.6748, allocations: 4 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.6752, allocations: 143.2 kB / 1.171 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.6755, allocations: 0.6729 MB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.6755, allocations: 3.984 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.6755, allocations: 19.38 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.6755, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8383/1.514, allocations: 1.435 MB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/14.24, allocations: 21.36 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches