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.004947/0.004947, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.001311/0.001311, allocations: 200.2 kB / 16.68 MB, free: 5.969 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.347/1.347, 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.435/2.435, allocations: 437.1 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 68.11 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8187, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003262/0.822, allocations: 1.452 MB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004829/0.8225, allocations: 190.7 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.8226, allocations: 0 / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.8226, allocations: 7.938 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.8227, allocations: 7.922 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.8231, allocations: 31.91 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.8232, allocations: 19.92 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.8233, allocations: 11.98 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.8233, allocations: 15.92 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.8234, allocations: 11.98 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.8234, allocations: 0 / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.8235, allocations: 35.97 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.8235, allocations: 7.938 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.8236, allocations: 7.922 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.8237, allocations: 43.94 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8237, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.7e-06/0.8237, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8238, allocations: 3.938 kB / 1.168 GB, free: 1.941 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.0005535/0.8243, allocations: 349.7 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.8244, allocations: 12.92 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.8244, allocations: 30.75 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.8244, allocations: 0.9375 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.8246, allocations: 176.2 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.8246, allocations: 384 / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.8246, allocations: 384 / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.8248, allocations: 50.19 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8248, allocations: 7.922 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.8249, allocations: 4 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8249, allocations: 0 / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.825, allocations: 31.97 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.8254, allocations: 249 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.8255, allocations: 42.5 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.8256, allocations: 24.84 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.8257, allocations: 81.09 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.8258, allocations: 34.56 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.8258, allocations: 0 / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003568/0.8262, allocations: 85.73 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.8262, allocations: 51.41 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.8263, allocations: 97.86 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.8263, allocations: 29.64 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.8264, allocations: 92.12 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.8264, allocations: 3.906 kB / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.8264, allocations: 13.72 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8265, allocations: 314.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.8266, allocations: 19.95 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.8267, allocations: 23.97 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.8269, allocations: 32.83 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.8269, allocations: 3.938 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.8271, allocations: 69.72 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8271, allocations: 10.66 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.8271, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.8271, allocations: 3.938 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.8272, allocations: 7.984 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8272, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.8273, allocations: 4 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.8273, allocations: 4 kB / 1.17 GB, free: 15.77 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.178e-05/0.8274, allocations: 125.7 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.8274, allocations: 3.906 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.8277, allocations: 76.77 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.8277, allocations: 256 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8277, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.8277, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.8278, allocations: 157.6 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8279, allocations: 7.984 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.8279, allocations: 8.031 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8279, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.8279, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.828, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.828, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.8283, allocations: 167.4 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.8284, allocations: 85.12 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.8284, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.8285, allocations: 4 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.8285, allocations: 3.984 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.8285, allocations: 0 / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.8286, allocations: 87.28 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8286, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002405/0.8288, allocations: 8 kB / 1.171 GB, free: 14.94 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.0006475/0.8295, allocations: 0.7162 MB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.8297, allocations: 35.91 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8297, allocations: 4.094 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.8298, allocations: 19.98 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.8301, allocations: 7.984 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.8306, allocations: 135.1 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.8309, allocations: 0.6768 MB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.8309, allocations: 7.938 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.8309, allocations: 15.5 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8309, allocations: 0 / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.8506, allocations: 1.444 MB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.516, allocations: 9.141 kB / 1.174 GB, free: 11.86 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=50 --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