Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_9_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.001021/0.001021, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 68.08 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6044/0.6057, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002397/0.6081, allocations: 1.456 MB / 0.9511 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004505/0.6086, allocations: 144 kB / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.6087, allocations: 0 / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.218e-05/0.6087, allocations: 0 / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.6088, allocations: 5.312 kB / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.6091, allocations: 33.52 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.6092, allocations: 41 kB / 0.9514 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.6094, allocations: 18.69 kB / 0.9514 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.648e-05/0.6094, allocations: 18.08 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.6095, allocations: 26.42 kB / 0.9514 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.6095, allocations: 6.812 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.6096, allocations: 45.86 kB / 0.9515 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.6097, allocations: 5.844 kB / 0.9515 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.6097, allocations: 20.42 kB / 0.9515 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.6098, allocations: 55.95 kB / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.6099, allocations: 3.938 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6099, allocations: 0 / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.6099, allocations: 1.375 kB / 0.9515 GB, free: 7.805 MB / 0.7169 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.0004458/0.6103, allocations: 369.7 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6104, allocations: 9.094 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.6104, allocations: 40.16 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.6115, allocations: 206.3 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.813e-05/0.6116, allocations: 166.6 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.6116, allocations: 5.531 kB / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.6116, allocations: 3.281 kB / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.6122, allocations: 191.6 kB / 0.9525 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6122, allocations: 7.875 kB / 0.9525 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6122, allocations: 5.062 kB / 0.9525 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.6122, allocations: 1.781 kB / 0.9525 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/0.6131, allocations: 287.2 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.614, allocations: 443 kB / 0.9532 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.6151, allocations: 289.1 kB / 0.9535 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.6154, allocations: 109.6 kB / 0.9536 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.6155, allocations: 0 / 0.9536 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.6155, allocations: 31.81 kB / 0.9536 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6155, allocations: 0 / 0.9536 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00109/0.6166, allocations: 306.6 kB / 0.9539 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.6166, allocations: 52.44 kB / 0.954 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.6167, allocations: 121.1 kB / 0.9541 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.6167, allocations: 33.64 kB / 0.9541 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.6168, allocations: 90.64 kB / 0.9542 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.6168, allocations: 9.25 kB / 0.9542 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.6168, allocations: 18.33 kB / 0.9542 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.6169, allocations: 321.4 kB / 0.9545 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.6172, allocations: 94.58 kB / 0.9546 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.6176, allocations: 99.12 kB / 0.9547 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.6182, allocations: 168.3 kB / 0.9549 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6182, allocations: 4 kB / 0.9549 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006933/0.6189, allocations: 216.3 kB / 0.9551 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6189, allocations: 5.188 kB / 0.9551 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6189, allocations: 4 kB / 0.9551 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6189, allocations: 1.281 kB / 0.9551 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.6192, allocations: 41.62 kB / 0.9551 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6192, allocations: 1.156 kB / 0.9551 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.6194, allocations: 26.17 kB / 0.9552 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.6194, allocations: 1.438 kB / 0.9552 GB, free: 4.965 MB / 0.7169 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 6.24e-05/0.6195, allocations: 122.2 kB / 0.9553 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.6195, allocations: 6.906 kB / 0.9553 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.6196, allocations: 14.81 kB / 0.9553 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6196, allocations: 0 / 0.9553 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6196, allocations: 0 / 0.9553 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6196, allocations: 1.312 kB / 0.9553 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.6197, allocations: 215.7 kB / 0.9555 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6198, allocations: 1.344 kB / 0.9555 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.62, allocations: 33.66 kB / 0.9555 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.62, allocations: 1.031 kB / 0.9555 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.62, allocations: 5.219 kB / 0.9555 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.62, allocations: 0 / 0.9555 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.62, allocations: 0 / 0.9555 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.6207, allocations: 314.8 kB / 0.9558 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.6207, allocations: 88.28 kB / 0.9559 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.6208, allocations: 0 / 0.9559 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.621, allocations: 26.8 kB / 0.956 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.621, allocations: 5.844 kB / 0.956 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.621, allocations: 0 / 0.956 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.6211, allocations: 93.8 kB / 0.956 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6211, allocations: 0 / 0.956 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002274/0.6213, allocations: 20.75 kB / 0.9561 GB, free: 4.121 MB / 0.7169 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.0008937/0.6222, allocations: 0.8447 MB / 0.9569 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007592/0.623, allocations: 195.4 kB / 0.9571 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.623, allocations: 5.344 kB / 0.9571 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.6233, allocations: 97.44 kB / 0.9572 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.6236, allocations: 12.41 kB / 0.9572 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.6267, allocations: 1.836 MB / 0.959 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.6268, allocations: 0.6874 MB / 0.9597 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.401e-05/0.6269, allocations: 21.98 kB / 0.9597 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.6269, allocations: 16.8 kB / 0.9597 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.627, allocations: 5.312 kB / 0.9597 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.6433, allocations: 1.928 MB / 0.9616 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.667, allocations: 5.594 kB / 0.9616 GB, free: 15.88 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches