Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",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.000894/0.0008938, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001025/0.001025, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.715/2.715, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004231, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.7694, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001462/0.7709, allocations: 1.149 MB / 0.9823 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000361/0.7713, allocations: 182.6 kB / 0.9824 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.7713, allocations: 0 / 0.9824 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.7713, allocations: 0 / 0.9824 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.7714, allocations: 3.984 kB / 0.9824 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.7716, allocations: 35.91 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.7717, allocations: 23.92 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.7718, allocations: 4 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.7718, allocations: 4 kB / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.7719, allocations: 15.92 kB / 0.9825 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.7719, allocations: 3.938 kB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-05/0.772, allocations: 27.97 kB / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.772, allocations: 7.984 kB / 0.9826 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.772, allocations: 33.69 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.943e-05/0.7721, allocations: 15.97 kB / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7721, allocations: 4 kB / 0.9826 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7721, allocations: 3.938 kB / 0.9826 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7722, allocations: 4 kB / 0.9826 GB, free: 4.711 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004094/0.7726, allocations: 341.6 kB / 0.9829 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7726, allocations: 12.03 kB / 0.983 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.7727, allocations: 38.55 kB / 0.983 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.843e-05/0.7727, allocations: 0 / 0.983 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.7728, allocations: 170.9 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.7728, allocations: 0 / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.7728, allocations: 4 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.773, allocations: 57.62 kB / 0.9832 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.773, allocations: 0 / 0.9832 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.773, allocations: 3.938 kB / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.7731, allocations: 0 / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.7732, allocations: 55.89 kB / 0.9833 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.7735, allocations: 241 kB / 0.9835 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.7737, allocations: 46.52 kB / 0.9835 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.7738, allocations: 32.89 kB / 0.9836 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.699e-05/0.7739, allocations: 77.11 kB / 0.9837 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.7739, allocations: 34.56 kB / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7739, allocations: 0 / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003346/0.7742, allocations: 101.6 kB / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.7743, allocations: 51.41 kB / 0.9838 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.7744, allocations: 105.8 kB / 0.9839 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.7744, allocations: 29.83 kB / 0.984 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.7745, allocations: 84.14 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.7745, allocations: 7.906 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.7745, allocations: 0 / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7746, allocations: 310.8 kB / 0.9843 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.7747, allocations: 27.97 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.7748, allocations: 23.98 kB / 0.9844 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.961e-05/0.7749, allocations: 23.98 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7749, allocations: 0 / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.7751, allocations: 85.61 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7751, allocations: 4 kB / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.7751, allocations: 0 / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.7751, allocations: 0 / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.7752, allocations: 19.92 kB / 0.9845 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.7752, allocations: 0 / 0.9845 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.7753, allocations: 8.031 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.7753, allocations: 0 / 0.9845 GB, free: 2.508 MB / 0.7325 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 (2): * Single equations (assignments): 2 * 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 8.206e-05/0.7754, allocations: 117.8 kB / 0.9846 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.7754, allocations: 7.859 kB / 0.9846 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.7756, allocations: 88.7 kB / 0.9847 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7756, allocations: 0 / 0.9847 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.7756, allocations: 0 / 0.9847 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7756, allocations: 4 kB / 0.9847 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.7758, allocations: 165.6 kB / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.7758, allocations: 4.234 kB / 0.9849 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.7759, allocations: 12 kB / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7759, allocations: 0 / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.7759, allocations: 7.984 kB / 0.9849 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7759, allocations: 0 / 0.9849 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7759, allocations: 4 kB / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.7762, allocations: 171.5 kB / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.7762, allocations: 81.09 kB / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.7762, allocations: 4 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.7763, allocations: 11.95 kB / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.7763, allocations: 7.922 kB / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.7763, allocations: 0 / 0.9852 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.7764, allocations: 79.28 kB / 0.9853 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7764, allocations: 0 / 0.9853 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002172/0.7766, allocations: 20.03 kB / 0.9853 GB, free: 1.641 MB / 0.7325 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 (2): * Single equations (assignments): 2 * 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.000565/0.7772, allocations: 0.7124 MB / 0.986 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.7774, allocations: 43.97 kB / 0.986 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7774, allocations: 0 / 0.986 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.7775, allocations: 27.98 kB / 0.986 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.7778, allocations: 7.953 kB / 0.9861 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.7781, allocations: 142.3 kB / 0.9862 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.7784, allocations: 0.6731 MB / 0.9868 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.7785, allocations: 12.05 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.7785, allocations: 11.38 kB / 0.9869 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.7785, allocations: 0 / 0.9869 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009922/0.7884, allocations: 1.173 MB / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.7886, allocations: 195.8 kB / 0.9882 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.538, allocations: 3.375 kB / 0.9882 GB, free: 14.63 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat does not exist to compare? outputFormat=mat