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.001651/0.00165, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001637/0.001638, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.506/2.506, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.042/4.042, allocations: 409.2 MB / 0.6838 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006762/0.0006767, allocations: 12 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479/1.48, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002662/1.483, allocations: 1.153 MB / 0.982 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005601/1.483, allocations: 182.7 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/1.483, allocations: 0 / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/1.483, allocations: 0 / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/1.483, allocations: 4 kB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/1.484, allocations: 35.83 kB / 0.9822 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/1.484, allocations: 11.98 kB / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/1.484, allocations: 11.98 kB / 0.9822 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/1.484, allocations: 4 kB / 0.9822 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/1.484, allocations: 11.92 kB / 0.9822 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/1.484, allocations: 4 kB / 0.9822 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/1.484, allocations: 23.97 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/1.484, allocations: 0 / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/1.484, allocations: 33.7 kB / 0.9823 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/1.485, allocations: 23.94 kB / 0.9823 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.485, allocations: 4 kB / 0.9823 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.586e-06/1.485, allocations: 0 / 0.9823 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.431e-06/1.485, allocations: 0 / 0.9823 GB, free: 4.742 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.0008824/1.485, allocations: 347.1 kB / 0.9826 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/1.486, allocations: 12.03 kB / 0.9827 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/1.486, allocations: 34.5 kB / 0.9827 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/1.486, allocations: 0 / 0.9827 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/1.486, allocations: 182.9 kB / 0.9829 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.486, allocations: 0 / 0.9829 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/1.486, allocations: 4 kB / 0.9829 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/1.486, allocations: 61.61 kB / 0.9829 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.486, allocations: 0 / 0.9829 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.486, allocations: 0 / 0.9829 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.486, allocations: 0 / 0.9829 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/1.486, allocations: 51.95 kB / 0.983 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/1.487, allocations: 252.8 kB / 0.9832 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/1.487, allocations: 46.52 kB / 0.9833 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/1.487, allocations: 81.17 kB / 0.9833 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.487, allocations: 30.56 kB / 0.9834 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.487, allocations: 0 / 0.9834 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004178/1.488, allocations: 101.6 kB / 0.9835 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/1.488, allocations: 55.41 kB / 0.9835 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/1.488, allocations: 101.8 kB / 0.9836 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/1.488, allocations: 25.7 kB / 0.9836 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/1.488, allocations: 92.27 kB / 0.9837 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/1.488, allocations: 3.906 kB / 0.9837 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/1.488, allocations: 0 / 0.9837 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002724/1.488, allocations: 314.8 kB / 0.984 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/1.488, allocations: 23.98 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/1.489, allocations: 19.98 kB / 0.9841 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.097e-05/1.489, allocations: 23.98 kB / 0.9841 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.489, allocations: 0 / 0.9841 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002104/1.489, allocations: 85.61 kB / 0.9842 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.489, allocations: 4 kB / 0.9842 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/1.489, allocations: 4 kB / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.489, allocations: 0 / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/1.489, allocations: 11.98 kB / 0.9842 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.489, allocations: 0 / 0.9842 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/1.489, allocations: 7.984 kB / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/1.489, allocations: 8.031 kB / 0.9842 GB, free: 2.555 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 9.067e-05/1.489, allocations: 109.8 kB / 0.9843 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/1.489, allocations: 7.859 kB / 0.9843 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/1.49, allocations: 80.78 kB / 0.9844 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.49, allocations: 4 kB / 0.9844 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.49, allocations: 0 / 0.9844 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.49, allocations: 0 / 0.9844 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/1.49, allocations: 161.7 kB / 0.9846 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.49, allocations: 0 / 0.9846 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/1.49, allocations: 15.92 kB / 0.9846 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.49, allocations: 3.938 kB / 0.9846 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/1.49, allocations: 11.89 kB / 0.9846 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.49, allocations: 4.031 kB / 0.9846 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.49, allocations: 0 / 0.9846 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/1.49, allocations: 163.8 kB / 0.9848 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/1.49, allocations: 81.14 kB / 0.9848 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/1.49, allocations: 12 kB / 0.9848 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/1.491, allocations: 11.94 kB / 0.9849 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/1.491, allocations: 0 / 0.9849 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/1.491, allocations: 4 kB / 0.9849 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.123e-05/1.491, allocations: 83.28 kB / 0.9849 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/1.491, allocations: 0 / 0.9849 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003849/1.491, allocations: 8 kB / 0.9849 GB, free: 1.711 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.001166/1.492, allocations: 0.728 MB / 0.9857 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003556/1.493, allocations: 47.97 kB / 0.9857 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.493, allocations: 0 / 0.9857 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/1.493, allocations: 31.97 kB / 0.9857 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/1.493, allocations: 13.52 kB / 0.9857 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/1.494, allocations: 134.3 kB / 0.9859 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/1.495, allocations: 0.6809 MB / 0.9865 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.047e-05/1.495, allocations: 0 / 0.9865 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/1.495, allocations: 7.5 kB / 0.9865 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/1.495, allocations: 4 kB / 0.9865 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/1.515, allocations: 1.167 MB / 0.9877 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003958/1.515, allocations: 193.2 kB / 0.9879 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/4.405, allocations: 4 kB / 0.9879 GB, free: 14.69 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