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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001525/0.001525, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001693/0.001693, allocations: 191.6 kB / 16.14 MB, free: 6.699 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.349/2.349, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 67.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5511, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002245/0.5534, allocations: 1.511 MB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003594/0.5537, allocations: 200.3 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.5538, allocations: 0 / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.5538, allocations: 3.938 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.5539, allocations: 4 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.554, allocations: 23.97 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.783e-05/0.5541, allocations: 27.86 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.216e-05/0.5542, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.432e-05/0.5542, allocations: 15.92 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.5542, allocations: 11.94 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.5542, allocations: 0 / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-05/0.5543, allocations: 35.95 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.5543, allocations: 0 / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.5544, allocations: 15.92 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.5545, allocations: 47.81 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5545, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.41e-07/0.5545, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.5545, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 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.0003623/0.5549, allocations: 337.8 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5549, allocations: 8.031 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.5549, allocations: 34.75 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.555, allocations: 8.844 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.5551, allocations: 164.3 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.5551, allocations: 4.375 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-06/0.5551, allocations: 4.375 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.5552, allocations: 50.22 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5552, allocations: 3.938 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.5553, allocations: 4 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.5553, allocations: 0 / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.5554, allocations: 35.89 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.5557, allocations: 252.9 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.5558, allocations: 42.53 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.5559, allocations: 20.91 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/0.556, allocations: 85.09 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.556, allocations: 34.56 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.556, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003197/0.5563, allocations: 89.48 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.5564, allocations: 51.41 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.5564, allocations: 105.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.5565, allocations: 25.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.5565, allocations: 88.27 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.5565, allocations: 3.906 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.5566, allocations: 17.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.5566, allocations: 314.8 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.5567, allocations: 15.98 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.5568, allocations: 15.98 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.557, allocations: 48.81 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.557, allocations: 7.875 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000178/0.5572, allocations: 65.61 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5572, allocations: 7.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.5572, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.5572, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.5573, allocations: 12.28 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.5573, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.5573, allocations: 11.98 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.5573, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 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.174e-05/0.5574, allocations: 114.3 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.5575, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.5577, allocations: 80.69 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5577, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.5577, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5577, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.5579, allocations: 161.6 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5579, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.5579, allocations: 11.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5579, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.5579, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5579, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5579, allocations: 4.031 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.5582, allocations: 171.3 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.5582, allocations: 77.11 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.5582, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.5583, allocations: 3.984 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.5583, allocations: 8.031 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.5583, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.5584, allocations: 83.27 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5584, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002139/0.5586, allocations: 16 kB / 1.021 GB, free: 13.85 MB / 0.7794 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.0004781/0.5591, allocations: 0.7007 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.5593, allocations: 43.89 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.5593, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.5594, allocations: 15.98 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.5596, allocations: 9.484 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.56, allocations: 145 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.5602, allocations: 0.6731 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.5602, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.5603, allocations: 23.36 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5603, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4052/0.9654, allocations: 1.25 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.9657, allocations: 196.9 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.779, allocations: 3.938 kB / 1.024 GB, free: 10.74 MB / 0.7794 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