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.041/2.041, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.0009347/0.0009347, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0008689/0.0008689, allocations: 107.9 kB / 0.9318 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.838e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7138/0.9216, allocations: 150.2 MB / 1.366 GB, free: 3.801 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.9219, allocations: 73.97 kB / 1.366 GB, free: 3.766 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003203/0.9251, allocations: 1.157 MB / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9251, allocations: 4 kB / 1.367 GB, free: 2.719 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.9251, allocations: 4 kB / 1.367 GB, free: 2.715 MB / 0.823 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.0003319/0.9255, allocations: 350.7 kB / 1.367 GB, free: 2.332 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.9255, allocations: 8.031 kB / 1.367 GB, free: 2.324 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.9256, allocations: 38.5 kB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007768/0.9263, allocations: 191.2 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.9265, allocations: 167 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.9265, allocations: 4 kB / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.9265, allocations: 6.875 kB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.9267, allocations: 109.5 kB / 1.368 GB, free: 1.789 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.9267, allocations: 0 / 1.368 GB, free: 1.789 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.9267, allocations: 3.938 kB / 1.368 GB, free: 1.785 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.9268, allocations: 4 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.9269, allocations: 122.7 kB / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008452/0.9278, allocations: 462.6 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.9282, allocations: 157.6 kB / 1.368 GB, free: 1.098 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.9282, allocations: 53.86 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.9283, allocations: 6.766 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.9283, allocations: 30.56 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.9283, allocations: 4 kB / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002447/0.9286, allocations: 119.3 kB / 1.368 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.9286, allocations: 53.38 kB / 1.369 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.9287, allocations: 103.6 kB / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.9287, allocations: 25.7 kB / 1.369 GB, free: 0.707 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.9288, allocations: 91.75 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.9288, allocations: 7.406 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.9288, allocations: 0 / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.9289, allocations: 322.6 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/0.929, allocations: 39.03 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.929, allocations: 53.08 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.445e-05/0.9291, allocations: 26.42 kB / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.9291, allocations: 0 / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001646/0.9293, allocations: 114 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9293, allocations: 7.953 kB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9293, allocations: 3.984 kB / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.9293, allocations: 0 / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.9296, allocations: 43.95 kB / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.9296, allocations: 0 / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.9298, allocations: 43.83 kB / 1.369 GB, free: 16 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.9298, allocations: 4 kB / 1.369 GB, free: 12 kB / 0.823 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 () * 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 7.266e-05/0.9299, allocations: 103.6 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.9299, allocations: 12.27 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.93, allocations: 15.23 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.93, allocations: 3.938 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.93, allocations: 0 / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.93, allocations: 3.938 kB / 1.369 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.9302, allocations: 202.8 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9302, allocations: 0 / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.9304, allocations: 51.5 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9304, allocations: 0 / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.9305, allocations: 3.953 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.9305, allocations: 0 / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9305, allocations: 0 / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.9307, allocations: 202.7 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.9307, allocations: 89 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.9307, allocations: 0.875 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.931, allocations: 39.53 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.931, allocations: 4 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.931, allocations: 4 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.9311, allocations: 98.45 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9311, allocations: 0 / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002022/0.9313, allocations: 15.69 kB / 1.37 GB, free: 15.14 MB / 0.8386 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 () * 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.0004223/0.9317, allocations: 0.7314 MB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.9319, allocations: 97.16 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9319, allocations: 0 / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.932, allocations: 45.34 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.9322, allocations: 13.42 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.9329, allocations: 219 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.9331, allocations: 0.6926 MB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.332e-05/0.9332, allocations: 19.98 kB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.9332, allocations: 11.25 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/0.9332, allocations: 0 / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.9442, allocations: 1.641 MB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.9444, allocations: 147.2 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.422, allocations: 0 / 1.374 GB, free: 11.57 MB / 0.8386 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