Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin",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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001038/0.001038, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.443/2.443, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.5229, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00241/0.5253, allocations: 1.527 MB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003681/0.5257, allocations: 148.4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.5258, allocations: 3.938 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.5258, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.5259, allocations: 4 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.5261, allocations: 31.89 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.69e-05/0.5261, allocations: 43.86 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.5263, allocations: 16 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.5263, allocations: 19.92 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.5263, allocations: 19.91 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.5264, allocations: 4 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.912e-05/0.5264, allocations: 31.97 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.5265, allocations: 3.938 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.5265, allocations: 19.92 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.5266, allocations: 63.8 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5266, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.91e-07/0.5266, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.5266, 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000413/0.5271, allocations: 365.5 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5271, allocations: 12.03 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.5271, allocations: 34.75 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.5282, allocations: 212.5 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.5283, allocations: 168.3 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.5283, allocations: 4.375 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.5283, allocations: 4.375 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.5288, allocations: 198 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5289, allocations: 3.938 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.5289, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5289, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007959/0.5297, allocations: 275.6 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.5305, allocations: 449.1 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.5316, allocations: 286.2 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.5319, allocations: 100.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.5319, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.532, allocations: 34.56 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.532, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001064/0.533, allocations: 317.2 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.5331, allocations: 51.41 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.5331, allocations: 121.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.5332, allocations: 25.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.5332, allocations: 92.14 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.5332, allocations: 7.891 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.5333, allocations: 17.72 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5334, allocations: 326.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.5337, allocations: 87.88 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.534, allocations: 99.88 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.5346, allocations: 172.6 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5346, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006589/0.5353, allocations: 217.6 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5353, allocations: 4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.5353, allocations: 384 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.5354, allocations: 48 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.5356, allocations: 39.92 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5356, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.5358, allocations: 39.89 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5358, allocations: 0 / 1.022 GB, free: 12.93 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 (3): * Single equations (assignments): 3 * 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.136e-05/0.5359, allocations: 118.3 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.5359, allocations: 7.906 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.536, allocations: 15.91 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.536, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.536, allocations: 7.938 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.536, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.5362, allocations: 213.5 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5362, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.5364, allocations: 35.94 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5365, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.5365, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5365, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5365, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.5372, allocations: 315.2 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.5372, allocations: 81.02 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.5373, allocations: 7.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.5375, allocations: 31.95 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.5375, allocations: 4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.5376, allocations: 3.984 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.844e-05/0.5376, allocations: 99.2 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5376, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002315/0.5379, allocations: 15.94 kB / 1.023 GB, free: 11.89 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 (3): * Single equations (assignments): 3 * 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.0009334/0.5388, allocations: 0.8334 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006702/0.5395, allocations: 195.7 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5395, allocations: 7.938 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.5398, allocations: 91.88 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.5401, allocations: 12 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.5431, allocations: 1.847 MB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.5434, allocations: 0.6887 MB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.596e-05/0.5435, allocations: 19.98 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.5435, allocations: 19.42 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of SimCode: time 1.573e-06/0.5435, allocations: 0 / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3637/0.9073, allocations: 1.727 MB / 1.028 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.9076, allocations: 196.1 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.813, allocations: 4 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches