Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.378/2.378, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001085/0.001085, allocations: 183.9 kB / 0.4901 GB, free: 2.203 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.621/1.621, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001117/0.001117, allocations: 94.75 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004709, allocations: 10.69 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3391, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.5328, allocations: 149.6 MB / 1.375 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.5331, allocations: 75.95 kB / 1.375 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005875/0.539, allocations: 2.04 MB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5391, allocations: 4 kB / 1.377 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.5391, allocations: 0 / 1.377 GB, free: 1.699 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003431/0.5395, allocations: 339.3 kB / 1.378 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5395, allocations: 15.97 kB / 1.378 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.5396, allocations: 30.56 kB / 1.378 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.5396, allocations: 0 / 1.378 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.5397, allocations: 171 kB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.5397, allocations: 4 kB / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.5398, allocations: 4 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.5399, allocations: 49.62 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5399, allocations: 0 / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5399, allocations: 4 kB / 1.378 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5399, allocations: 3.984 kB / 1.378 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.636e-05/0.54, allocations: 12 kB / 1.378 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.5402, allocations: 161.5 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.5403, allocations: 50.5 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.5404, allocations: 89.09 kB / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.5405, allocations: 30.56 kB / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.5405, allocations: 0 / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.001426/0.5419, allocations: 476.7 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.542, allocations: 51.41 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.5421, allocations: 85 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.5421, allocations: 33.83 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.5421, allocations: 88.08 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.5422, allocations: 23.64 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.5422, allocations: 4 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5423, allocations: 314.9 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.5423, allocations: 8 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.5424, allocations: 23.92 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.5424, allocations: 12 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5424, allocations: 0 / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001243/0.5425, allocations: 73.67 kB / 1.379 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5426, allocations: 8 kB / 1.379 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5426, allocations: 4 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5426, allocations: 0 / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.5427, allocations: 15.98 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5427, allocations: 0 / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.5427, allocations: 3.938 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.5428, allocations: 4.312 kB / 1.38 GB, free: 15.25 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 (8): * Single equations (assignments): 8 * 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.621e-05/0.5428, allocations: 118.5 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.5429, allocations: 11.89 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.543, allocations: 85.62 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.543, allocations: 4 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5431, allocations: 0 / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5431, allocations: 3.984 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.5432, allocations: 165.6 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5432, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.641e-05/0.5433, allocations: 19.94 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5433, allocations: 3.984 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5433, allocations: 0 / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5433, allocations: 4 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5433, allocations: 0 / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.5435, allocations: 117 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.5436, allocations: 77.11 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.5436, allocations: 4 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.5436, allocations: 4 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.5437, allocations: 3.984 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.5437, allocations: 8.062 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.5437, allocations: 75.28 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5437, allocations: 0 / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002277/0.544, allocations: 43.94 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0005569/0.5445, allocations: 0.6905 MB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.5446, allocations: 47.91 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5446, allocations: 0 / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.5447, allocations: 20 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.39e-05/0.5448, allocations: 0.5156 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.5454, allocations: 442.5 kB / 1.381 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.5457, allocations: 0.6887 MB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.5457, allocations: 8.172 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.5458, allocations: 11.44 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.5458, allocations: 0 / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.5577, allocations: 1.476 MB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.5579, allocations: 208.5 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.162, allocations: 1.688 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat does not exist to compare? outputFormat=mat