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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004816/0.004816, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.00132/0.00132, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.91 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3432, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00253/0.3457, allocations: 1.459 MB / 1.243 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000377/0.3461, allocations: 139.6 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.3462, allocations: 0 / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.026e-05/0.3462, allocations: 3.938 kB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.407e-05/0.3463, allocations: 7.938 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3465, allocations: 35.91 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.3466, allocations: 43.84 kB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3468, allocations: 19.98 kB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.3468, allocations: 15.92 kB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.3469, allocations: 27.92 kB / 1.244 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3469, allocations: 4 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.347, allocations: 31.97 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.347, allocations: 11.94 kB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.347, allocations: 19.92 kB / 1.244 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.3472, allocations: 63.73 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3472, allocations: 0 / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3472, allocations: 0 / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3472, allocations: 0 / 1.244 GB, free: 7.922 MB / 0.9981 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.0004918/0.3477, allocations: 369.3 kB / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3477, allocations: 12.03 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.3478, allocations: 34.69 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3489, allocations: 208.5 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.349, allocations: 172.3 kB / 1.244 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.349, allocations: 4.375 kB / 1.244 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.349, allocations: 4.375 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.3496, allocations: 194 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3496, allocations: 11.86 kB / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.3497, allocations: 7.984 kB / 1.245 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3497, allocations: 0 / 1.245 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/0.3505, allocations: 283.5 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009234/0.3515, allocations: 429.5 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.3526, allocations: 282.2 kB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.353, allocations: 104.8 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3531, allocations: 7.938 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3531, allocations: 34.5 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3531, allocations: 0 / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.001223/0.3543, allocations: 309.3 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3544, allocations: 55.39 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.964e-05/0.3545, allocations: 117.8 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3545, allocations: 29.7 kB / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.3546, allocations: 92.08 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3546, allocations: 11.89 kB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.3547, allocations: 17.72 kB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3548, allocations: 318.8 kB / 1.247 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.3552, allocations: 103.8 kB / 1.247 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.3556, allocations: 91.88 kB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.3563, allocations: 172.6 kB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3563, allocations: 0 / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007547/0.357, allocations: 209.5 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.357, allocations: 4 kB / 1.247 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.3571, allocations: 0 / 1.247 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3571, allocations: 8 kB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3573, allocations: 35.94 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3573, allocations: 3.984 kB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.3575, allocations: 31.89 kB / 1.247 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3576, allocations: 0 / 1.247 GB, free: 3.996 MB / 0.9981 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 9.481e-05/0.3577, allocations: 121.8 kB / 1.247 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.3577, allocations: 11.95 kB / 1.247 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.3577, allocations: 8.281 kB / 1.247 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3578, allocations: 0 / 1.247 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3578, allocations: 4 kB / 1.247 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3578, allocations: 0 / 1.247 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.358, allocations: 213.5 kB / 1.248 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.358, allocations: 0 / 1.248 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.3583, allocations: 39.94 kB / 1.248 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3583, allocations: 0 / 1.248 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3583, allocations: 4.328 kB / 1.248 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3583, allocations: 3.938 kB / 1.248 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3583, allocations: 0 / 1.248 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.3591, allocations: 327.1 kB / 1.248 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.3592, allocations: 77.11 kB / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.3592, allocations: 4 kB / 1.248 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3594, allocations: 23.95 kB / 1.248 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.3595, allocations: 4 kB / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.3595, allocations: 3.984 kB / 1.248 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.3596, allocations: 99.27 kB / 1.248 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3596, allocations: 0 / 1.248 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002338/0.3598, allocations: 19.94 kB / 1.248 GB, free: 2.953 MB / 0.9981 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.001119/0.3609, allocations: 0.8378 MB / 1.249 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007818/0.3617, allocations: 195.7 kB / 1.249 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3617, allocations: 4 kB / 1.249 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.3621, allocations: 99.88 kB / 1.249 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.3624, allocations: 4 kB / 1.249 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5319/0.8943, allocations: 1.841 MB / 1.251 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.8945, allocations: 0.6872 MB / 1.252 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.8946, allocations: 19.16 kB / 1.252 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.8947, allocations: 19.33 kB / 1.252 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.8947, allocations: 3.469 kB / 1.252 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.9172, allocations: 1.951 MB / 1.254 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/9.336, allocations: 9.828 kB / 1.254 GB, free: 13.36 MB / 0.9981 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=400 --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