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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.286/2.286, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 187.3 kB / 0.4901 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.1 MB / 0.7992 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009286/0.0009286, allocations: 100.3 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 8.875 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.5394, allocations: 150.2 MB / 1.376 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.5398, allocations: 75.95 kB / 1.376 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.004608/0.5444, allocations: 1.167 MB / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.867e-06/0.5445, allocations: 0 / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.5445, allocations: 0 / 1.377 GB, free: 13.73 MB / 0.8855 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.0006075/0.5451, allocations: 363.2 kB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/0.5452, allocations: 8.562 kB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.227e-05/0.5453, allocations: 42.55 kB / 1.378 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.5464, allocations: 191.6 kB / 1.378 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.5466, allocations: 167 kB / 1.378 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.5466, allocations: 4 kB / 1.378 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.5466, allocations: 0 / 1.378 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007112/0.5474, allocations: 217.4 kB / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5474, allocations: 0 / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.5474, allocations: 0 / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.5474, allocations: 0 / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.5485, allocations: 323.6 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.5496, allocations: 453.1 kB / 1.379 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.5509, allocations: 342.2 kB / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.5509, allocations: 3.938 kB / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.551, allocations: 42.53 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 2.225e-06/0.551, allocations: 0 / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.001158/0.5521, allocations: 369.3 kB / 1.38 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.5522, allocations: 51.41 kB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.5523, allocations: 109.2 kB / 1.38 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5523, allocations: 29.7 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.5524, allocations: 84.14 kB / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.5524, allocations: 7.906 kB / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.5524, allocations: 0 / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5526, allocations: 326.8 kB / 1.38 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.5529, allocations: 111.9 kB / 1.38 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.5533, allocations: 111.9 kB / 1.38 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.5536, allocations: 103.8 kB / 1.38 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5536, allocations: 0 / 1.38 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007612/0.5544, allocations: 257.4 kB / 1.381 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5544, allocations: 4 kB / 1.381 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5544, allocations: 7.953 kB / 1.381 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5545, allocations: 3.984 kB / 1.381 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.5547, allocations: 39.95 kB / 1.381 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5547, allocations: 0 / 1.381 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.5549, allocations: 35.95 kB / 1.381 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.555, allocations: 8 kB / 1.381 GB, free: 9.762 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.5551, allocations: 117.8 kB / 1.381 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.5551, allocations: 0 / 1.381 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.5552, allocations: 11.91 kB / 1.381 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5552, allocations: 4.281 kB / 1.381 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5552, allocations: 0 / 1.381 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5552, allocations: 0 / 1.381 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.5554, allocations: 209.5 kB / 1.381 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5554, allocations: 7.938 kB / 1.381 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.5557, allocations: 47.92 kB / 1.381 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5557, allocations: 384 / 1.381 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5557, allocations: 0 / 1.381 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.5557, allocations: 3.953 kB / 1.381 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5557, allocations: 0 / 1.381 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007608/0.5565, allocations: 351.2 kB / 1.382 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.5566, allocations: 88.94 kB / 1.382 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.5566, allocations: 8 kB / 1.382 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.5568, allocations: 39.95 kB / 1.382 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.5569, allocations: 3.953 kB / 1.382 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.5569, allocations: 4 kB / 1.382 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.5569, allocations: 91.27 kB / 1.382 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.903e-06/0.5569, allocations: 3.938 kB / 1.382 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002291/0.5572, allocations: 19.94 kB / 1.382 GB, free: 8.676 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/0.5583, allocations: 0.8771 MB / 1.383 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007521/0.5591, allocations: 231.7 kB / 1.383 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5591, allocations: 4 kB / 1.383 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.5594, allocations: 115.8 kB / 1.383 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.5596, allocations: 11.95 kB / 1.383 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.5621, allocations: 0.9067 MB / 1.384 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.5624, allocations: 0.6965 MB / 1.385 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.834e-05/0.5625, allocations: 23.98 kB / 1.385 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/0.5626, allocations: 15.44 kB / 1.385 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/0.5626, allocations: 0 / 1.385 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.5766, allocations: 1.633 MB / 1.386 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.5768, allocations: 173.6 kB / 1.386 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.242, allocations: 0 / 1.386 GB, free: 3.953 MB / 0.8855 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat does not exist to compare? outputFormat=mat