Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_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.001682/0.001682, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001467/0.001467, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.606/1.606, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.058/3.058, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001284, allocations: 72.59 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4004, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003143/0.4036, allocations: 1.522 MB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003579/0.404, allocations: 139.6 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.404, allocations: 4 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.4041, allocations: 7.922 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.986e-05/0.4042, allocations: 3.984 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.4044, allocations: 23.92 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.275e-05/0.4045, allocations: 39.86 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.4046, allocations: 31.97 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.4046, allocations: 23.91 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.14e-05/0.4047, allocations: 15.92 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.4047, allocations: 4 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.4048, allocations: 35.97 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.4048, allocations: 4 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.4049, allocations: 15.88 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.405, allocations: 67.84 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.405, allocations: 7.938 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.41e-07/0.405, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.405, allocations: 3.938 kB / 1.054 GB, free: 6.68 MB / 0.8106 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.0004431/0.4055, allocations: 357.2 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4055, allocations: 12.62 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.4056, allocations: 34.75 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.4067, allocations: 220.5 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.4068, allocations: 168.3 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4068, allocations: 4.375 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.4068, allocations: 384 / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.4074, allocations: 202 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.4074, allocations: 3.938 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4074, allocations: 0 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4074, allocations: 0 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.4083, allocations: 279.6 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.4092, allocations: 453.1 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.4103, allocations: 290.3 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.4106, allocations: 96.73 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.4107, allocations: 4 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.4107, allocations: 34.56 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.4107, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001173/0.4119, allocations: 309.2 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.412, allocations: 59.41 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.412, allocations: 113.8 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4121, allocations: 33.7 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.4121, allocations: 84.14 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.4122, allocations: 7.844 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.4122, allocations: 25.7 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4123, allocations: 318.8 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.4127, allocations: 95.81 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.413, allocations: 95.88 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.4137, allocations: 180.6 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4137, allocations: 0 / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007574/0.4145, allocations: 213.4 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.4145, allocations: 8.375 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4146, allocations: 0 / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4146, allocations: 0 / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.4148, allocations: 31.94 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.4149, allocations: 7.938 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.4151, allocations: 31.95 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.4151, allocations: 4 kB / 1.058 GB, free: 2.746 MB / 0.8106 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 0.0001076/0.4152, allocations: 119.3 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.4153, allocations: 8.234 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.4153, allocations: 7.906 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.4153, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.4153, allocations: 3.984 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4153, allocations: 4 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.4156, allocations: 213.5 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.4156, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.4159, allocations: 39.88 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4159, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4159, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4159, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4159, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.4168, allocations: 311.2 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.4168, allocations: 85.02 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.4169, allocations: 7.984 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.4171, allocations: 31.95 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.4171, allocations: 0 / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.4171, allocations: 0 / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.4172, allocations: 95.27 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.583e-06/0.4172, allocations: 0 / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002655/0.4175, allocations: 23.88 kB / 1.059 GB, free: 1.719 MB / 0.8106 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.001025/0.4185, allocations: 0.8372 MB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007165/0.4192, allocations: 195.8 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4193, allocations: 0 / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.4196, allocations: 107.8 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.4199, allocations: 9.688 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.4233, allocations: 1.85 MB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.4235, allocations: 0.6885 MB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.147e-05/0.4236, allocations: 20.23 kB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.4237, allocations: 15.42 kB / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.4237, allocations: 0 / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.4376, allocations: 1.797 MB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.4379, allocations: 197 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.135, allocations: 0 / 1.064 GB, free: 11.93 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches