Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_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.007266/0.007266, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001985/0.001985, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.638/2.638, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6835, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002463/0.686, allocations: 1.471 MB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003479/0.6864, allocations: 147.6 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.6864, allocations: 0 / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.6865, allocations: 3.938 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.6865, allocations: 3.938 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.6867, allocations: 27.91 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.6869, allocations: 43.84 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.687, allocations: 31.97 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.687, allocations: 12 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.6871, allocations: 19.86 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.6871, allocations: 4 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.6872, allocations: 39.97 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.6872, allocations: 7.984 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.6872, allocations: 15.88 kB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.6874, allocations: 66.47 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6874, allocations: 0 / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.956e-06/0.6874, allocations: 3.984 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.6874, allocations: 4 kB / 1.222 GB, free: 156 kB / 0.9356 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.0004471/0.6879, allocations: 360.2 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.6879, allocations: 8.031 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.6879, allocations: 38.75 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.689, allocations: 212.5 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.6891, allocations: 168.3 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6892, allocations: 4.375 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.6892, allocations: 4.375 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.6897, allocations: 202 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6898, allocations: 3.938 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.6898, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.6898, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/0.6906, allocations: 279.6 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008888/0.6915, allocations: 437.3 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.6926, allocations: 294.2 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.693, allocations: 104.7 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.693, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.6931, allocations: 34.55 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.6931, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.001156/0.6942, allocations: 313.3 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.6943, allocations: 55.41 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.6944, allocations: 113.8 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.6944, allocations: 25.7 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.6945, allocations: 100.1 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.6945, allocations: 11.91 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.6945, allocations: 13.72 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6947, allocations: 326.7 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.6951, allocations: 91.88 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.6954, allocations: 99.88 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.6961, allocations: 172.6 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6961, allocations: 0 / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007304/0.6968, allocations: 209.5 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6969, allocations: 8 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6969, allocations: 4 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.6969, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.6971, allocations: 39.94 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.6971, allocations: 0 / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.6973, allocations: 31.91 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.6974, allocations: 4 kB / 1.226 GB, free: 12.22 MB / 0.9512 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.628e-05/0.6974, allocations: 117.8 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.6975, allocations: 0 / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.118e-05/0.6975, allocations: 15.91 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6975, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6975, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6976, allocations: 3.984 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.6978, allocations: 209.6 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6978, allocations: 7.922 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.698, allocations: 32.33 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.698, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.698, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.6981, allocations: 8 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6981, allocations: 3.938 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007926/0.6989, allocations: 315.2 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.6989, allocations: 85.44 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.6989, allocations: 4 kB / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.6992, allocations: 27.95 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.6992, allocations: 3.984 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.6992, allocations: 0 / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.031e-05/0.6993, allocations: 95.27 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.956e-06/0.6993, allocations: 3.938 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002254/0.6995, allocations: 23.88 kB / 1.227 GB, free: 11.18 MB / 0.9512 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.001063/0.7006, allocations: 0.8416 MB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007647/0.7014, allocations: 195.7 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7014, allocations: 0 / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.7018, allocations: 107.8 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.702, allocations: 0 / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.7054, allocations: 1.844 MB / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.7057, allocations: 0.6924 MB / 1.23 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.783e-05/0.7058, allocations: 23.98 kB / 1.23 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.7058, allocations: 11.44 kB / 1.23 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.7058, allocations: 0 / 1.23 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.548/2.253, allocations: 1.96 MB / 1.232 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/15.15, allocations: 8.469 kB / 1.232 GB, free: 5.445 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches